DataEditModule
PackageReified.Data
An opaque immutable edit applied by
Data.tryPatch or Data.patch.Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| set | DataEdit.set path value | Describes replacing a value, or adding a missing final object field. |
| replace | DataEdit.replace path value | Describes replacing an existing value. |
| remove | DataEdit.remove path | Describes removing an existing field or list item. |
| append | DataEdit.append path value | Describes appending an item to an existing list. |
| prepend | DataEdit.prepend path value | Describes prepending an item to an existing list. |
| insert | DataEdit.insert path index value | Describes inserting an item at a valid list index. |
| rename | DataEdit.rename path name | Describes renaming an existing object field without moving it. |
| update | DataEdit.update path change | Describes applying a function to an existing value. |
| Path | this.Path | The path targeted by the edit. |
| CreateAppend | DataEdit.CreateAppend(path, value) | No description available. |
| CreateInsert | DataEdit.CreateInsert(path, index, value) | No description available. |
| CreatePrepend | DataEdit.CreatePrepend(path, value) | No description available. |
| CreateReplace | DataEdit.CreateReplace(path, value) | No description available. |
| CreateSet | DataEdit.CreateSet(path, value) | No description available. |