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.

Error codes:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

The following objects return True:

warning

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


Please support us!