MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / capitalize

Function capitalize

packages/server/src/openapi/transforms.ts:315–317  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

313}
314
315function capitalize(value: string): string {
316 return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;
317}
318
319function asRecord(value: unknown): Record<string, unknown> | undefined {
320 if (typeof value !== 'object' || value === null) return undefined;

Callers 1

patchSessionActionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected