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

Function makeUpdateLeft

packages/effect/src/internal/differ/orPatch.ts:141–152  ·  view source on GitHub ↗
(
  patch: Patch
)

Source from the content-addressed store, hash-verified

139
140/** @internal */
141export const makeUpdateLeft = <Value, Value2, Patch, Patch2>(
142 patch: Patch
143): Differ.Or.Patch<
144 Value,
145 Value2,
146 Patch,
147 Patch2
148> => {
149 const o = Object.create(UpdateLeftProto)
150 o.patch = patch
151 return o
152}
153
154/** @internal */
155export interface UpdateRight<in out Value, in out Value2, in out Patch, in out Patch2>

Callers 1

diffFunction · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…