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

Function configCase

packages/effect/src/String.ts:1381–1382  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1379 * @since 4.0.0
1380 */
1381export const configCase: (self: string) => string = (self) =>
1382 normalizeCase(self, CONFIG_SPLIT_REGEXP, [STRIP_REGEXP], "_", toUpperCase)
1383
1384/**
1385 * Converts a string to kebab-case (lowercase with hyphens).

Callers

nothing calls this directly

Calls 1

normalizeCaseFunction · 0.85

Tested by

no test coverage detected