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

Function makeSetRight

packages/effect/src/internal/differ/orPatch.ts:115–126  ·  view source on GitHub ↗
(
  value: Value2
)

Source from the content-addressed store, hash-verified

113
114/** @internal */
115export const makeSetRight = <Value, Value2, Patch, Patch2>(
116 value: Value2
117): Differ.Or.Patch<
118 Value,
119 Value2,
120 Patch,
121 Patch2
122> => {
123 const o = Object.create(SetRightProto)
124 o.value = value
125 return o
126}
127
128/** @internal */
129export interface UpdateLeft<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…