effect-io-ai

Package: effect
Module: Differ

Differ.update

Constructs a differ that just diffs two values by returning a function that sets the value to the new value. This differ does not support combining multiple updates to the value compositionally and should only be used when there is no compositional way to update them.

Signature

declare const update: <A>() => Differ<A, (a: A) => A>

Source

Since v2.0.0