MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / toCamelCase

Function toCamelCase

src/config/configuration/converter.ts:7–9  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

5}
6
7function toCamelCase(str: string): string {
8 return str.replace(/_([a-z])/g, (_, letter) => letter.toUpperCase());
9}
10
11function isRecord(value: unknown): value is Record<string, unknown> {
12 return typeof value === 'object' && value !== null && !Array.isArray(value);

Callers 1

snakeToCamelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected