time-to-botec/js/node_modules/@stdlib/assert/is-ascii/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

27 lines
546 B
Plaintext

{{alias}}( str )
Tests whether a character belongs to the ASCII character set and whether
this is true for all characters in a provided string.
Parameters
----------
str: string
Input string.
Returns
-------
bool: boolean
Boolean indicating whether a string has all ASCII characters.
Examples
--------
> var str = 'beep boop';
> var bool = {{alias}}( str )
true
> bool = {{alias}}( {{alias:@stdlib/string/from-code-point}}( 130 ) )
false
See Also
--------