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.52 realp Function

Syntax:
realp object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

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

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

Notes:
 (realp object) ==(typep object 'real)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015