Checks if the string's length is not more than target number.
Note: this function takes into account surrogate pairs.
If given value is not a string, then it returns false.
Parameters
value: string
The value being checked.
target: number
The maximum target length
Returns boolean
True if the string's length is not less than given target number, false otherwise.
Checks if the string's length is not more than target number. Note: this function takes into account surrogate pairs. If given value is not a string, then it returns false.