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

Function isPascalCase

src/resolution/frameworks/svelte.ts:211–213  ·  view source on GitHub ↗

* Check if string is PascalCase

(str: string)

Source from the content-addressed store, hash-verified

209 * Check if string is PascalCase
210 */
211function isPascalCase(str: string): boolean {
212 return /^[A-Z][a-zA-Z0-9]*$/.test(str);
213}
214
215/**
216 * Resolve a Svelte component reference using name-based lookup

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected