operator < method
Checks if this quantity's magnitude is less than another's.
Returns true if compareTo(other) < 0. Cross-unit comparisons are
handled correctly; see compareTo for conversion semantics.
Implementation
bool operator <(Quantity<T> other) => compareTo(other) < 0;