Converts the first character of a string to upper case.
The input string.
The input string with the first character in upper case.
const inputString = 'hello';const upperCaseString = await toUpperCase(inputString);console.log(upperCaseString); // "Hello" Copy
const inputString = 'hello';const upperCaseString = await toUpperCase(inputString);console.log(upperCaseString); // "Hello"
Generated using TypeDoc
Converts the first character of a string to upper case.