@tempots/std
isAlphaNum() function
isAlphaNum
returns true
if the string only contains alpha-numeric characters.
Signature:
isAlphaNum: (value: string) => boolean
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
string |
The string to check. |
Returns: boolean
true
if the string contains only alpha-numeric characters, false
otherwise.