isLessThan method
Checks if this value is less than other.
Returns true only if this value is strictly less than other.
Example:
assert(5.isLessThan(10) == true);
assert(10.isLessThan(5) == false);
Implementation
bool isLessThan(T other) => compareWith(other) == .less;