- :logical
rational?
checks if given value is of type :rational
Parameters
rational? value :any
Returns
Examples
copyr: to :rational 3.14 ; r: 157/50 print rational? r ; true print rational? 3.14 ; false
rational? value :any
copyr: to :rational 3.14 ; r: 157/50 print rational? r ; true print rational? 3.14 ; false