Converts a string to Pascal case.
Pascal case is the naming convention in which each word is capitalized and concatenated without any separator characters.
The string that is to be changed to pascal case.
const convertedStr1 = pascalCase('pascalCase') // returns 'PascalCase'const convertedStr2 = pascalCase('some whitespace') // returns 'SomeWhitespace'const convertedStr3 = pascalCase('hyphen-text') // returns 'HyphenText'const convertedStr4 = pascalCase('HTTPRequest') // returns 'HttpRequest' Copy
const convertedStr1 = pascalCase('pascalCase') // returns 'PascalCase'const convertedStr2 = pascalCase('some whitespace') // returns 'SomeWhitespace'const convertedStr3 = pascalCase('hyphen-text') // returns 'HyphenText'const convertedStr4 = pascalCase('HTTPRequest') // returns 'HttpRequest'
Alias