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

Function replaceAll

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

Source from the content-addressed store, hash-verified

804 * @since 2.0.0
805 */
806export const replaceAll = (searchValue: string | RegExp, replaceValue: string) => (self: string): string =>
807 self.replaceAll(searchValue, replaceValue)
808
809/**
810 * Returns the index of the first match for a string or regular expression safely, or

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected