MCPcopy
hub / github.com/benjamine/jsondiffpatch / replace

Method replace

packages/jsondiffpatch/src/pipe.ts:84–88  ·  view source on GitHub ↗
(filterName: string, ...params: Filter<TContext>[])

Source from the content-addressed store, hash-verified

82 }
83
84 replace(filterName: string, ...params: Filter<TContext>[]) {
85 const index = this.indexOf(filterName);
86 this.filters.splice(index, 1, ...params);
87 return this;
88 }
89
90 remove(filterName: string) {
91 const index = this.indexOf(filterName);

Callers 7

index.spec.tsFile · 0.80
diffpatch.tsFile · 0.80
htmlEscapeFunction · 0.80
demo.tsFile · 0.80
getExampleJsonFunction · 0.80
demo.tsFile · 0.80
trimFunction · 0.80

Calls 1

indexOfMethod · 0.95

Tested by

no test coverage detected