Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

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 uninitialised.

Syntax:

IsObject(var)

Return value:

Boolean

Parameters:

var: The variable to be tested.

Error codes:

5 Invalid procedure call