operator < method Null safety

bool operator <(
  1. 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 <(num other);