Funció IsObject

Contingut

# 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:

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

### Sintaxi:

IsObject(var)

### Tipus de retorn:

Booleà

### Paràmetres:

Name | Type | Descripció
--- | --- | ---
var |  | The variable to be tested.

### Codis d'error

5 La crida al procediment no és vàlida

Temes relacionats

EqualUnoObjects Function

Enum statement

Opció ClassModule expressió

Type statement

Ús de variables

Ens cal la vostra ajuda!