Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
1136
export
const
kebabToSnake = (self: string): string => self.replace(/-/g,
"_"
)
1137
1138
class
LinesIterator implements IterableIterator<string> {
1139
private index: number
Callers
nothing calls this directly
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected