User Tools


Function REALP

Syntax

  • realp objectgeneralized-boolean

Arguments and Values

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

Side Effects

None.

Affected By

None.

Exceptional Situations

None.

See Also

None.

Notes

(realp object) ≡ (typep object 'real)

\issue{REAL-NUMBER-TYPE:X3J13-MAR-89}