Skip to content

ChangeSet.invert method

ChangeSet › invert

Official

Given the document as it existed before the changes, return a change set that represents the inverse of this set.

Signature:

invert(doc: Text): ChangeSet

Parameters:

Parameter Type Description
doc Text The original document.

Returns: ChangeSetThe inverted change set.