Contenido

# Función IsObject

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

- Tipos extendidos o enumeraciones

- Routines or variables when defined as Object.

- Módulos de Basic de LibreOffice

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

### Sintaxis:

IsObject(var)

### Return type:

Booleano

### Parámetros:

Nombre | Tipo | Descripción
--- | --- | ---
var |  | The variable to be tested.

### Códigos de error:

5 Llamada a procedimiento no válida

Temas relacionados

Función EqualUnoObjects

Enum statement

Instrucción Option ClassModule

Type statement

Uso de variables