ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   12 Numbers   12.2 Dictionary of Numbers

12.2.44 numberp Function

Syntax:
numberp object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

Description:
Returns true if object is of type number; otherwise, returns false.

Examples:
 (numberp 12)  true
 (numberp (expt 2 130))  true
 (numberp #c(5/3 7.2))  true
 (numberp nil)  false
 (numberp (cons 1 2))  false

Notes:
 (numberp object) ==(typep object 'number)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2012 - File last updated 02-24-2012