* Check if string is PascalCase
(str: string)
| 2372 | * Check if string is PascalCase |
| 2373 | */ |
| 2374 | function isPascalCase(str: string): boolean { |
| 2375 | return /^[A-Z][a-zA-Z0-9]*$/.test(str); |
| 2376 | } |
| 2377 | |
| 2378 | /** |
| 2379 | * Check if name is a built-in type |
no outgoing calls
no test coverage detected