(identifier: string | string[])
| 28 | |
| 29 | /** reformat an identifier to pascal case */ |
| 30 | export function pascalCase(identifier: string | string[]): string { |
| 31 | return deconstruct(identifier) |
| 32 | .map((each) => each.charAt(0).toUpperCase() + each.slice(1)) |
| 33 | .join(''); |
| 34 | } |
| 35 | |
| 36 | /** reformat an identifier to camel case */ |
| 37 | export function camelCase(identifier: string | string[]): string { |
nothing calls this directly
no test coverage detected