operator <= method

bool? operator <=(
  1. String s
)

Checks if the length! of the String is less or equal to s.

Implementation

bool? operator <=(String s) {
  if (this == null) {
    return null;
  }
  if (this!.isEmpty) {
    return false;
  }
  return this!.length <= s.length;
}