minLen method

bool minLen(
  1. int min
)

Checks if the string's length is greater than or equal to the specified minimum.

@param min The minimum length to check against. @return True if the string's length is at least min, false otherwise.

Implementation

bool minLen(int min) => length >= min;