User Tools


Function INTEGERP

Syntax

  • integerp objectgeneralized-boolean

Arguments and Values

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

Side Effects

None.

Affected By

None.

Exceptional Situations

None.

See Also

None.

Notes

(integerp object) ≡ (typep object 'integer)