rationalp object ⇒ generalized-boolean
rationalp
Returns true if object is of type rational; otherwise, returns false.
(rationalp 12) ⇒ true (rationalp 6/5) ⇒ true (rationalp 1.212) ⇒ false
rational
(rationalp object) ≡ (typep object 'rational)