MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toPascalCase

Function toPascalCase

packages/plugins/openapi/src/sdk/definitions.ts:35–38  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

33};
34
35const toPascalCase = (value: string): string => {
36 const camel = toCamelCase(value);
37 return `${camel[0]?.toUpperCase() ?? ""}${camel.slice(1)}`;
38};
39
40// ---------------------------------------------------------------------------
41// Path utilities

Callers 2

fallbackLeafSeedFunction · 0.70
resolveCollisionsFunction · 0.70

Calls 1

toCamelCaseFunction · 0.85

Tested by

no test coverage detected