operator < method

bool operator <(
  1. Fraction other
)

Checks whether this fraction is smaller than the other.

Implementation

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