Capitalizes the first letter of a string.
capitalize
let a = capitalizeW('foo'); // a has type stringa = 'bar'; // OK Copy
let a = capitalizeW('foo'); // a has type stringa = 'bar'; // OK
The string to capitalize.
The capitalized string with a wide string type.
Capitalizes the first letter of a string.
See
capitalize
Example