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

Function makeAdd

packages/effect/src/internal/differ/hashSetPatch.ts:70–76  ·  view source on GitHub ↗
(
  value: Value
)

Source from the content-addressed store, hash-verified

68
69/** @internal */
70export const makeAdd = <Value>(
71 value: Value
72): Differ.HashSet.Patch<Value> => {
73 const o = Object.create(AddProto)
74 o.value = value
75 return o
76}
77
78interface Remove<Value> extends Differ.HashSet.Patch<Value> {
79 readonly _tag: "Remove"

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…