operator < method

bool operator <(
  1. MixedFraction other
)

Checks whether this mixed fraction is smaller than the other.

Implementation

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