User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:functions:complexp [2019/07/14 17:00]
cl:functions:complexp [2019/07/18 14:00] (current)
Line 1: Line 1:
 +====== Function COMPLEXP ======
 +
 +====Syntax====
 +  * **complexp** //object// → //​generalized-boolean//​
 +
 +====Arguments and Values====
 +  * //object// - an //​[[CL:​Glossary:​object]]//​.
 +  * //​generalized-boolean//​ - a //​[[CL:​Glossary:​generalized boolean]]//​.
 +
 +====Description====
 +Returns //​[[CL:​Glossary:​true]]//​ if //object// is of //​[[CL:​Glossary:​type]]//​ **[[CL:​Types:​complex]]**;​ otherwise, returns //​[[CL:​Glossary:​false]]//​.
 +
 +====Examples==== ​
 +<​blockquote> ​
 +(complexp 1.2d2) <​r>//​[[CL:​Glossary:​false]]//​ </r>
 +(complexp #c(5/3 7.2)) <​r>//​[[CL:​Glossary:​true]]//</​r>​
 +</​blockquote>​
 +
 +====Side Effects====
 +None.
 +
 +====Affected By====
 +None.
 +
 +====Exceptional Situations====
 +None.
 +
 +====See Also====
 +  * **[[CL:​Functions:​complex|Function COMPLEX]]**
 +  * **[[CL:​Types:​complex|Type COMPLEX]]**
 +  * **[[CL:​Functions:​typep|Function TYPEP]]**
 +
 +====Notes====
 +<​blockquote>​
 +(complexp //object//) ≡ ([[CL:​Functions:​typep]] //object// '​[[CL:​Types:​complex]]) </​blockquote>​
 +