type


(type item)

This function returns the object type of specified Lisp item.

Arguments

item  any Lisp symbol or value

Return

the data type of the Lisp object; one of these symbols


ENAME

entity name


EXRXSUBR

BRX defined function


FILE

file handle


INT

integer number


LIST

list


PICKSET

selectionset


REAL

double number


SAFEARRAY

COM SafeArray


STR

string


SUBR

Lisp function


SYM

symbol


VARIANT

COM Variant


VLA-Object

COM ActiveX object

Example

(type 5.0)  REAL
(type 5)  INT
(type (entlast))  ENAME
(type +)  SUBR
(type nil)  NIL
(type t)  SYM

Remarks




©  Bricsys NV. All rights reserved.