operator <= method

bool operator <=(
  1. Rational other
)

Whether this number is numerically smaller than or equal to other.

Implementation

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