type :string
Returns the true type of the given object
. Behaves the same as the built-in type()
function, but with additional support for class
es and object
s.
Default syntax
Parameters
object: object
The
object
.
Returns