operator <= method

bool operator <=(
  1. Moment other
)

Returns true if this moment is at or before other.

Implementation

bool operator <=(Moment other) => totalSeconds <= other.totalSeconds;