MCPcopy Index your code
hub / github.com/Effect-TS/effect / makeUpdate

Function makeUpdate

packages/effect/src/internal/differ/readonlyArrayPatch.ts:101–106  ·  view source on GitHub ↗
(index: number, patch: Patch)

Source from the content-addressed store, hash-verified

99})
100
101const makeUpdate = <Value, Patch>(index: number, patch: Patch): Differ.Differ.ReadonlyArray.Patch<Value, Patch> => {
102 const o = Object.create(UpdateProto)
103 o.index = index
104 o.patch = patch
105 return o
106}
107
108type Instruction =
109 | Empty<any, any>

Callers 1

diffFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…