capitalize
Capitalizes the first letter of a given string.
- @param
value
- The string to capitalize. - @returns The capitalized string.
Example
capitalize('hello world') // 'Hello world'
capitalize
Capitalizes the first letter of a given string.
value
- The string to capitalize.capitalize('hello world') // 'Hello world'