Converts a string to Pascal case.
The input string to be converted.
The Pascal case version of the input string.
const inputString = 'to_pascal_case';const pascalCaseString = toPascalCase(inputString);console.log(pascalCaseString); // "ToPascalCase" Copy
const inputString = 'to_pascal_case';const pascalCaseString = toPascalCase(inputString);console.log(pascalCaseString); // "ToPascalCase"
Generated using TypeDoc
Converts a string to Pascal case.