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

Function isPascalCase

src/resolution/frameworks/vue.ts:336–338  ·  view source on GitHub ↗

* Check if string is PascalCase

(str: string)

Source from the content-addressed store, hash-verified

334 * Check if string is PascalCase
335 */
336function isPascalCase(str: string): boolean {
337 return /^[A-Z][a-zA-Z0-9]*$/.test(str);
338}
339
340/**
341 * Resolve a Vue component reference to its .vue file

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected