type
(type object)
The type function returns the data type of object as a symbol.
The function returns one of the symbols as follows:
Symbol |
Description |
ENAME |
Entity Name |
EXSUBR |
External Lisp Function |
FILE |
File Descriptor |
INT |
Integer |
LIST |
List (or function) |
PICKSET |
Selection Set |
REAL |
Floating-point number |
STR |
String |
SUBR |
Internal Lisp Function |
SYM |
Symbol |
: (type 1.234)
REAL
: (type a)
nil
: (type 'a)
SYM
: (type setq)
SUBR