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

Function makeUpdateRight

packages/effect/src/internal/differ/orPatch.ts:167–178  ·  view source on GitHub ↗
(
  patch: Patch2
)

Source from the content-addressed store, hash-verified

165
166/** @internal */
167export const makeUpdateRight = <Value, Value2, Patch, Patch2>(
168 patch: Patch2
169): Differ.Or.Patch<
170 Value,
171 Value2,
172 Patch,
173 Patch2
174> => {
175 const o = Object.create(UpdateRightProto)
176 o.patch = patch
177 return o
178}
179
180type Instruction =
181 | AndThen<any, any, any, any>

Callers 1

diffFunction · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected