Capitalise a string
the string with the first character in uppercase
capitalize('hello world') === 'Hello world'
capitalize('Hello world') === 'Hello world'
string to capitalise
Generated using TypeDoc
Capitalise a string
Returns
the string with the first character in uppercase
Example
Example