30 lines
522 B
Plaintext
30 lines
522 B
Plaintext
|
|
{{alias}}( str )
|
|
Tests whether a string contains only alphanumeric characters.
|
|
|
|
Parameters
|
|
----------
|
|
str: string
|
|
Input string.
|
|
|
|
Returns
|
|
-------
|
|
bool: boolean
|
|
Boolean indicating whether a string contains only alphanumeric
|
|
characters.
|
|
|
|
Examples
|
|
--------
|
|
> var bool = {{alias}}( 'abc0123456789' )
|
|
true
|
|
> bool = {{alias}}( 'abcdef' )
|
|
true
|
|
> bool = {{alias}}( '0xff' )
|
|
true
|
|
> bool = {{alias}}( '' )
|
|
false
|
|
|
|
See Also
|
|
--------
|
|
|