pascalCase
pascalCase(str: string): stringSource: string.ts:110
Converts a string to PascalCase
Parameters
str(string) — The input string
Returns
string— PascalCased string
Example
CODE
pascalCase('hello-world') // 'HelloWorld'
pascalCase('hello_world') // 'HelloWorld'
pascalCase('helloWorld') // 'HelloWorld'