minLength method

bool minLength(
  1. int min
)

Returns true if the string length is smaller than or equals the given value

Implementation

bool minLength(int min) {
  return length >= min;
}