Child pages
  • Special Operators
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

Refresh page Apr 26, 2024 07:45

Supported Clients
SmartClient WebClient NGClient MobileClient

Methods Summary
void 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.

Methods Details

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

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

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
 

  • No labels