Function applyEdits
- apply
Edits (text, edits): string Parameters
- text: string
The input text
- edits: EditResult
Edit operations following the format described in
EditResult
.
Returns string
The text with the applied edits.
Throws
An error if the edit operations are not well-formed as described in
EditResult
.- text: string
Applies edits to an input string.