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.

Syntax:


IsObject(var)

αƒ“αƒαƒ‘αƒ αƒ£αƒœαƒ”αƒ‘αƒ£αƒšαƒ˜ αƒ›αƒœαƒ˜αƒ¨αƒ•αƒœαƒ”αƒšαƒαƒ‘αƒ:

Boolean

Parameters:

var: Any variable that you want to test.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

The following objects return True:

warning

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


Please support us!