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

25 lines
352 B
Plaintext
Raw Normal View History

{{alias}}( str )
Capitalizes the first character in a `string`.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
Capitalized string.
Examples
--------
> var out = {{alias}}( 'beep' )
'Beep'
> out = {{alias}}( 'Boop' )
'Boop'
See Also
--------