time-to-botec/js/node_modules/@stdlib/assert/is-alphanumeric/docs/repl.txt

30 lines
522 B
Plaintext
Raw Normal View History

{{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
--------