CLCS
Function

complexp

complexp objectgeneralized-boolean

Arguments and Values

objectan object.
generalized-booleana generalized boolean.

Description

Returns true if object is of type complex; otherwise, returns false.

Examples

 (complexp 1.2d2) ⇒  false
 (complexp #c(5/3 7.2)) ⇒  true


See Also

complex (function and type), typep

Notes

 (complexp object) ≡ (typep object 'complex)