remove(T, k)
remove(T, k) removes and returns the entry of T stored under the key k.
|
|
|
If T is not a mutable hash table, an error is thrown. One way to remove an entry from an immutable hash table is with the function applyPairs:
|
|
remove works similarly when T is a database. See Database for more information.
If T is a mutable list, then k gives the index of the element to be removed.
|
|
|
If k is negative, then the index is determined by counting backwards from the end of T.
|
|
The object remove is a compiled function.