remove

Remove dictionary entries.

📝 Syntax

  • db = remove(da, key)

📥 Input argument

  • da - scalar: a dictionary object.

  • key - scalar or array: key

📤 Output argument

  • 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 tod[key] = [].

💡 Example

🔗 See also

dictionary, insert, lookup.

🕔 History

Version
📄 Description

1.5.0

initial version

Last updated

Was this helpful?