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.

語法:


IsObject(var)

傳回值類型:

Boolean

參數:

var: Any variable that you want to test.

錯誤代碼:

5 無效的程序呼叫

The following objects return True:

warning

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