Removes a key-value pair from a map or an element from a list.
Arguments
- doc
An Automerge document
- obj
An Automerge object ID (from nested object), or AM_ROOT
for the document root
- key
For maps: character string key to delete. For lists: numeric
index (1-based, like R vectors) to delete
Value
The document doc (invisibly)