- :logical
rational?
checks if given value is of type :rational
Parameters
rational? value :any
Attributes
big | check if, internally, it's a bignum |
Returns
Examples
copyr: to :rational 3.14 ; r: 157/50 print rational? r ; true print rational? 3.14 ; false