The object to update
The index of the entry to delete
An updated copy of the object.
Gets an entry in a given object on a given index.
The object to update
The index of the entry to update
The value of the entry if any was found and undefined
otherwise.
Updates / Adds an entry in a given object on a given index.
Any errors thrown on a transformation function are bubbled up.
Remember to take in to account that storage may not contain the data we expect it to, so always validate the type of the value passed on to the transformation function.
The object to update
The index of the entry to update
A transformation function to apply to the currently persisted value.
An updated copy of the object.
Generated using TypeDoc
Deletes an entry in a given object on a given index.
No-op in case the index is not found.
In case the index is invalid i.e. doesn't contain an entry or doesn't exist.