MCPcopy Index your code
hub / github.com/github/copilot-sdk / toPascalCase

Function toPascalCase

scripts/codegen/typescript.ts:125–127  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

123}
124
125function toPascalCase(s: string): string {
126 return fixBrandCasing(s.charAt(0).toUpperCase() + s.slice(1));
127}
128
129function escapeRegExp(value: string): string {
130 return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");

Calls 1

fixBrandCasingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…