Object.type
type() -> string
Description
Get the built-in type of this variable.
Possible types are:
booleannumberstringlistmapfunctionflagregextypeStringobjectnothing
Example:
'hello'.type() //= 'string' [1, 2, 3].type() //= 'list' $obj = MyClass() $obj.type() //= 'object'