-
Notifications
You must be signed in to change notification settings - Fork 24
Types
Rohansi edited this page Dec 22, 2014
·
5 revisions
You can determine the type of a value by calling getType
on it. It will return the type name from the following table as a string.
Type | Description |
---|---|
number |
64-bit floating point value |
string |
UTF-16 text |
bool |
true or false
|
object |
an associative array |
array |
an array of values |
null |
null , used to represent no value |
undefined |
undefined , used to represent a missing property |
function |
a function reference |