MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isPascalCase

Function isPascalCase

src/resolution/frameworks/astro.ts:168–170  ·  view source on GitHub ↗

* Check if string is PascalCase

(str: string)

Source from the content-addressed store, hash-verified

166 * Check if string is PascalCase
167 */
168function 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

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected