time-to-botec/js/node_modules/@stdlib/string/num-grapheme-clusters/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

25 lines
357 B
Plaintext

{{alias}}( str )
Returns the number of grapheme clusters in a string.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
Number of grapheme clusters.
Examples
--------
> var out = {{alias}}( 'beep' )
4
> out = {{alias}}( '🌷' )
1
See Also
--------