User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function NUMBERP ====== ====Syntax==== * **numberp** //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:number]]**; otherwise, returns //[[CL:Glossary:false]]//. ====Examples==== <blockquote> (numberp 12) → //[[CL:Glossary:true]]// (numberp ([[CL:Functions:expt]] 2 130)) → //[[CL:Glossary:true]]// (numberp #c(5/3 7.2)) → //[[CL:Glossary:true]]// (numberp [[CL:Constant Variables:nil]]) → //[[CL:Glossary:false]]// (numberp ([[CL:Functions:cons]] 1 2)) → //[[CL:Glossary:false]]// </blockquote> ====Side Effects==== None. ====Affected By==== None. ====Exceptional Situations==== None. ====See Also==== None. ====Notes==== <blockquote> (numberp //object//) ≡ ([[CL:Functions:typep]] //object// '[[CL:Types:number]]) </blockquote>