* Check if string is PascalCase
(str: string)
| 2394 | * Check if string is PascalCase |
| 2395 | */ |
| 2396 | function isPascalCase(str: string): boolean { |
| 2397 | return /^[A-Z][a-zA-Z0-9]*$/.test(str); |
| 2398 | } |
| 2399 | |
| 2400 | /** |
| 2401 | * Check if name is a built-in type |
no outgoing calls
no test coverage detected