time-to-botec/js/node_modules/@stdlib/assert/is-whitespace/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

34 lines
816 B
Plaintext

{{alias}}( str )
Tests whether a string contains only white space characters.
A white space character is defined as one of the 25 characters defined as a
white space ("WSpace=Y","WS") character in the Unicode 9.0 character
database, as well as one related white space character without the Unicode
character property "WSpace=Y" (zero width non-breaking space which was
deprecated as of Unicode 3.2).
Parameters
----------
str: string
Input string.
Returns
-------
bool: boolean
Boolean indicating whether a string contains only white space
characters.
Examples
--------
> var bool = {{alias}}( ' ' )
true
> bool = {{alias}}( 'abcdef' )
false
> bool = {{alias}}( '' )
false
See Also
--------