time-to-botec/squiggle/node_modules/@stdlib/string/constantcase/docs/repl.txt

24 lines
400 B
Plaintext
Raw Normal View History

{{alias}}( str )
Converts a string to constant case.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
Constant-cased string.
Examples
--------
> var out = {{alias}}( 'Hello World!' )
'HELLO_WORLD'
> out = {{alias}}( 'I am a tiny little teapot' )
'I_AM_A_TINY_LITTLE_TEAPOT'
See Also
--------