Función IsObject

Contenido
Índice 🔎︎

# 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

- Tipos extendidos o enumeraciones

- Routines or variables when defined as Object.

- Módulos de Basic de LibreOfficeDev

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

### Sintaxis:

IsObject(var)

### Valor de retorno:

Booleano

### Parámetros:

var: la variable que se someterá a prueba.

### Códigos de error:

5 Llamada a procedimiento no válida

Temas relacionados

EqualUnoObjects Function

Enum statement

Instrucción Option ClassModule

Type statement

Uso de variables