applyPatch
applyPatch(
doc,ops):Json
Defined in: core/diff.ts:64
Applies ops to doc and returns the new document. doc is not modified; untouched
subtrees are shared with the result. Patches can come from the network, so anything
outside the subset diff produces (unknown ops, malformed paths or array indexes)
throws instead of being guessed at.
Parameters
Section titled “Parameters”readonly JsonPatchOp[]
