Method Summary | |
---|---|
void | #typeof() Returns the type of the given object, one of these get returned: number, string, boolean, object, function, undefined. |
Method Details |
---|
typeof |
void typeof () |
Returns the type of the given object, one of these get returned: number, string, boolean, object, function, undefined. |
Returns void |
Sampleapplication.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 |
1 Comment
Anonymous
What about null ?