operator < method

bool operator <(
  1. Offset other
)

Implements the operator < (less than).

  • this: The left hand side of the operator.
  • other: The right hand side of the operator.

Returns: true if the left value is less than the right value, otherwise false.

Implementation

bool operator <(Offset other) => compareTo(other) < 0;