operator <= method

bool operator <=(
  1. LocalTime other
)

Compares two LocalTime values to see if the left one is earlier than or equal to the right one.

  • this: First operand of the comparison
  • other: Second operand of the comparison

Returns: true if the this is earlier than or equal to other, false otherwise.

Implementation

bool operator <=(LocalTime other) => timeSinceMidnight.inNanoseconds <= other.timeSinceMidnight.inNanoseconds;