MCPcopy Create free account
hub / github.com/Effect-TS/effect / camelCaseTransform

Function camelCaseTransform

packages/effect/src/String.ts:1313–1316  ·  view source on GitHub ↗
(input: string, index: number)

Source from the content-addressed store, hash-verified

1311})
1312
1313const camelCaseTransform = (input: string, index: number): string =>
1314 index === 0
1315 ? input.toLowerCase()
1316 : pascalCaseTransform(input)
1317
1318/**
1319 * Converts a string to camelCase.

Callers

nothing calls this directly

Calls 1

pascalCaseTransformFunction · 0.85

Tested by

no test coverage detected