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:

แƒ’แƒแƒ•แƒ แƒ—แƒฎแƒ˜แƒšแƒ”แƒ‘แƒ˜แƒก แƒฎแƒแƒขแƒฃแƒšแƒ

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


Syntax:

IsObject(var)

Return type:

แƒšแƒแƒ’แƒ˜แƒ™แƒฃแƒ แƒ˜ แƒ›แƒœแƒ˜แƒจแƒ•แƒœแƒ”แƒšแƒแƒ‘แƒ

Parameters:

Name

Type

Description

var

The variable to be tested.


Error codes:

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

Please support us!

Please support us!