User Tools

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

====== Function RATIONALP ====== ====Syntax==== * **rationalp** //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:rational]]**; otherwise, returns //[[CL:Glossary:false]]//. ====Examples==== <blockquote> (rationalp 12) <r>//[[CL:Glossary:true]]// </r> (rationalp 6/5) <r>//[[CL:Glossary:true]]// </r> (rationalp 1.212) <r>//[[CL:Glossary:false]]// </r> </blockquote> ====Side Effects==== None. ====Affected By==== None. ====Exceptional Situations==== None. ====See Also==== * **[[CL:Functions:rational|Function RATIONAL]]** ====Notes==== <blockquote> (rationalp //object//) ≡ ([[CL:Functions:typep]] //object// '[[CL:Types:rational]]) </blockquote>