|
ANSI Common Lisp 12 Numbers 12.2 Dictionary of Numbers
12.2.58 integerp |
Function |
- Syntax:
-
integerp
object
generalized-boolean
- Arguments and Values:
-
object - an object.
generalized-boolean - a generalized boolean.
- Description:
-
Returns true if object is of type integer; otherwise, returns false.
- Examples:
-
(integerp 1) true
(integerp (expt 2 130)) true
(integerp 6/5) false
(integerp nil) false
- Notes:
-
(integerp object) ==(typep object 'integer)
- Allegro CL Implementation Details:
-
None.
|