operator > method

bool operator >(
  1. Rational other
)

Checks whether this rational number is greater than the other.

Implementation

bool operator >(Rational other) => toDouble() > other.toDouble();