(str: string)
| 21 | } |
| 22 | |
| 23 | function isAllUpperCase(str: string): boolean { |
| 24 | return str === str.toUpperCase(); |
| 25 | } |
| 26 | |
| 27 | export function toPascalCase(str: string): string { |
| 28 | if (isAllUpperCase(str)) return str; |
no outgoing calls
no test coverage detected