(input: string)
| 1285 | const STRIP_REGEXP = /[^A-Z0-9]+/gi |
| 1286 | |
| 1287 | const pascalCaseTransform = (input: string): string => { |
| 1288 | const firstChar = input.charAt(0) |
| 1289 | const lowerChars = input.substring(1).toLowerCase() |
| 1290 | return `${firstChar.toUpperCase()}${lowerChars}` |
| 1291 | } |
| 1292 | |
| 1293 | /** |
| 1294 | * Converts a string to PascalCase. |
no outgoing calls
no test coverage detected