* Check if string is PascalCase
(str: string)
| 166 | * Check if string is PascalCase |
| 167 | */ |
| 168 | function isPascalCase(str: string): boolean { |
| 169 | return /^[A-Z][a-zA-Z0-9]*$/.test(str); |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Resolve an Astro component reference using name-based lookup |