lt method

bool lt(
  1. Iterator<U> other
)

Determines if the elements of this Iterator are lexicographically less than those of another.

Implementation

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