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