operator < method

bool operator <(
  1. Rational other
)

Whether this number is numerically smaller than other.

Implementation

bool operator <(Rational other) => compareTo(other) < 0;