remove(obj, ...)
obj = remove(obj, ...)
| Parameter | Description |
|---|---|
| obj | object that implements keyed removal. |
| key | key or keys to remove. |
| Parameter | Description |
|---|---|
| obj | updated object when the concrete implementation returns one. |
remove dispatches removal to the object type passed as first argument.
If the first argument does not implement removal, Nelson reports that the function is not implemented for that type.
d = dictionary(["one" "two"], [1 2]);
d = remove(d, "one")
| Version | Description |
|---|---|
| 2.0.0 | initial version |