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

Function makeSlice

packages/effect/src/internal/differ/readonlyArrayPatch.ts:84–89  ·  view source on GitHub ↗
(from: number, until: number)

Source from the content-addressed store, hash-verified

82})
83
84const makeSlice = <Value, Patch>(from: number, until: number): Differ.Differ.ReadonlyArray.Patch<Value, Patch> => {
85 const o = Object.create(SliceProto)
86 o.from = from
87 o.until = until
88 return o
89}
90
91interface Update<Value, Patch> extends Differ.Differ.ReadonlyArray.Patch<Value, Patch> {
92 readonly _tag: "Update"

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…