| Applying science to business management |
  
Typeof
Format: typeof x
Arguments: [any] x Any valid expression
Returns: (text) Text indicating the type of the data in
x
Description: This operator evaluates x and then
returns a text string from the table below indicating the type of
data in x.
Returns Data Type
undefined null
boolean Boolean value true or false
number Any real or complex number
string Text string
object List or object
function Function pointer
Examples: typeof null =
undefined
typeof true = boolean
typeof 5 = number
typeof "Hello World" =
string
typeof 1..3 = object
typeof sqrt = function
See Also: dtype
|