patch
Function: patch()
patch<
T>(a,delta):T
Defined in: packages/versioning/src/engine/patch.ts:68
Apply a Delta to a value, producing the patched result.
Type Parameters
T
T
Parameters
a
T
the base value to patch
delta
the delta produced by diff(a, b)
Returns
T
the patched value equivalent to the original b