remove
Remove dictionary entries.
📝Syntax
db = remove(da, key)
📥Input Arguments
Parameter Description
da scalar: a dictionary object.
key scalar or array: key
📤Output Arguments
Parameter Description
db scalar: a dictionary object.
📄Description

db = remove(da, key) deletes the entry associated with the key from dictionary da.

d = remove(d, key) is equivalent to d[key] = [].

💡Examples
names = ["Apple" "Banana" "Kiwi"];
wheels = [1 2 3];
d = dictionary(wheels, names)
d = remove(d, 2)
🔗See Also
dictionaryinsertlookup
🕔Version History
Version Description
1.5.0 initial version
Edit this page on GitHub