operator <= method

bool operator <=(
  1. Fraction other
)

Checks whether this fraction is smaller or equal than the other.

Implementation

bool operator <=(Fraction other) => toDouble() <= other.toDouble();