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

Function replace

packages/effect/src/String.ts:253–254  ·  view source on GitHub ↗
(searchValue: string | RegExp, replaceValue: string)

Source from the content-addressed store, hash-verified

251 * @since 2.0.0
252 */
253export const replace = (searchValue: string | RegExp, replaceValue: string) => (self: string): string =>
254 self.replace(searchValue, replaceValue)
255
256/**
257 * Type-level representation of trimming whitespace from both ends of a string.

Callers 2

createPluginsFunction · 0.85
constructorMethod · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected