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: ChangeSet — The inverted change set.