operator <= method

bool operator <=(
  1. String other
)

Implementation

bool operator <=(String other) {
  return compareTo(other) <= 0;
}