Skip to content

@technobuddha > library > String > Categorization

Function: isAlphaNumeric() ​

ts
function isAlphaNumeric(input: string): boolean;

Defined in: is-alpha-numeric.ts:10

Test a string for all alphanumeric characters

Parameters ​

ParameterTypeDescription
inputstringstring to test

Returns ​

boolean

true, if all characters in the string are alphanumeric