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

Function update

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

Source from the content-addressed store, hash-verified

150
151/** @internal */
152export const update = <A>(): Differ.Differ<A, (a: A) => A> => updateWith((_, a) => a)
153
154/** @internal */
155export const updateWith = <A>(f: (x: A, y: A) => A): Differ.Differ<A, (a: A) => A> =>

Callers 8

makeFunction · 0.70
incrementFunction · 0.70
metric.tsFile · 0.70
updaterFunction · 0.70
decrementFunction · 0.50
incrementFunction · 0.50
toggleFunction · 0.50

Calls 1

updateWithFunction · 0.85

Tested by

no test coverage detected