Skip to content

RationalQ

Status: Experimental

present and registered, but lightly documented and not yet covered by dedicated tests.

Description

RationalQ[expr]

gives True if expr is an exact rational number, False otherwise.

Rational[p, q]. Returns False on reals and on symbolic expressions.

Notes True for an Integer or BigInt (an integer is rational) and for a

Examples

No verified examples yet for this function.

Implementation notes

Attributes: Protected.

References