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

Function kebabToSnake

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

Source from the content-addressed store, hash-verified

1134 * @since 2.0.0
1135 */
1136export const kebabToSnake = (self: string): string => self.replace(/-/g, "_")
1137
1138class LinesIterator implements IterableIterator<string> {
1139 private index: number

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected