Innhald
Innhaldsliste 🔎︎

# IsObject-funksjonen

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.

## Syntaks:

    IsObject(var)

## Returverdi:

Boolean

## Parameterar:

var: Kvar variabel som helst du ønskjer å testa.

### Feilkodar

5 Ugyldig prosedyreoppkall

The following objects return True:

- OLE objects or UNO objects

- Class module object instances

- Extended types or enumerations

- Routines or variables when defined as Object.

- LibreOffice Basic modules

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

Liknande emne

Enum statement

Option ClassModule-uttrykket

Type statement

Using variables