operator < method

bool operator <(
  1. Obj<num> other
)

Whether this number is numerically smaller than other.

Returns true if this number is smaller than other. Returns false if this number is greater than or equal to other or if either value is a NaN value like double.nan.

Implementation

bool operator <(Obj<num> other) => value < other.value;