Difference between revisions of "IsObject"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{HelpFiles}} === isObject === Check param is object or not === Syntax === isObject(param); === Arguments === param:any type === Return type === bool === Examples ===...")
 
(Tag: visualeditor-switched)
 
Line 26: Line 26:
 
// true
 
// true
 
</source> __NOTOC__
 
</source> __NOTOC__
 +
[[Category:General_Functions]]

Latest revision as of 05:39, 30 May 2017


isObject

Check param is object or not

Syntax

isObject(param);

Arguments

param:any type

Return type

bool

Examples

number x=1;
isObject(x);
// false
isObject(1);
// true