Returns true if the string length is at least min characters.
true
min
The string to check.
Minimum length (inclusive).
hasMinLength("hello", 3) // => truehasMinLength("hi", 5) // => false Copy
hasMinLength("hello", 3) // => truehasMinLength("hi", 5) // => false
Returns
trueif the string length is at leastmincharacters.