le method

bool le(
  1. Iterator<U> other
)

Determines if the elements of this Iterator are lexicographically less or equal to those of another.

Implementation

@pragma("vm:prefer-inline")
bool le(Iterator<U> other) {
  return cmp(other) <= 0;
}