Special Operators

Overview

Special operators.

Methods Summarized

TypeNameSummary

void

Returns the type of the given object, one of these strings get returned: "number", "string", "boolean", "object", "function" or undefined if the object doesn't exists.

Methods Detailed

typeof()

Returns the type of the given object, one of these strings get returned: "number", "string", "boolean", "object", "function" or undefined if the object doesn't exists.

Returns: void

Sample

application.output(typeof "abc"); // string
application.output(typeof 10); // number
application.output(typeof 10.1); // number
application.output(typeof true); // boolean
application.output(typeof parseInt); // function
application.output(typeof application); // object
application.output(typeof somethingInexisting); // undefined

Last updated