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

Function makeSetLeft

packages/effect/src/internal/differ/orPatch.ts:89–100  ·  view source on GitHub ↗
(
  value: Value
)

Source from the content-addressed store, hash-verified

87
88/** @internal */
89export const makeSetLeft = <Value, Value2, Patch, Patch2>(
90 value: Value
91): Differ.Or.Patch<
92 Value,
93 Value2,
94 Patch,
95 Patch2
96> => {
97 const o = Object.create(SetLeftProto)
98 o.value = value
99 return o
100}
101
102/** @internal */
103export interface SetRight<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