operator <= method

bool operator <=(
  1. Pair<T1, T2> other
)

Returns whether this pair is lexicographically less than or equal to other.

Implementation

bool operator <=(Pair<T1, T2> other) => compareTo(other) <= 0;