IsObject Function

Tests if a variable is an object, as opposed to primitive data types such as dates, numbers, texts. The function returns True if the variable is an object, otherwise it returns False.

This function returns True for the following object types:

warning

Data structures return True even when empty. Object defined variables return True even if uninitialized.


አገባብ:

IsObject(var)

ዋጋ ይመልሳል:

Boolean

ደንቦች:

var: The variable to be tested.

የ ስህተት ኮዶች:

5 ዋጋ የሌለው የ አሰራር ጥሪ

Please support us!