This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
typeof
- typeof(instance) ⇒ string
-
Return type of the
instance.Table 1. Parameters instance
Instance of the object or primitive.
ReturnName of the type.
>>> typeof(1) int32 >>> typeof(1L) int64 >>> typeof([1, 2, 3]) array >>> typeof(new Table()) object >>> typeof(null) null