Name

ratio?

Usage

builtin-function

Syntax

(ratio? expr)

Description

Returns true if expr is a BigRational number.

user 1 > (ratio? (/ 1 2))
it: true
user 2 > (ratio? (/ 2 2))
it: false