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

Function isPascalCase

src/resolution/frameworks/astro.ts:169–171  ·  view source on GitHub ↗

* Check if string is PascalCase

(str: string)

Source from the content-addressed store, hash-verified

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

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected