@tempots/std
capitalize() function
capitalize
returns a string with the first character convert to upper case.
Signature:
capitalize: (s: string) => string
Parameters
Parameter |
Type |
Description |
---|---|---|
s |
string |
The string to capitalize. |
Returns: string
The capitalized string.