erase_#
- swordfish.function.erase_()#
Eliminate elements from a set, or members from a dictionary, or rows from a table.
- Parameters:
obj (Constant) – A set/dictionary/table.
key (Constant) – The element to be deleted for a set; the keys of the members to be deleted for a dictionary; a piece of meta code with filtering conditions for a table.
filter (Constant) – The element to be deleted for a set; the keys of the members to be deleted for a dictionary; a piece of meta code with filtering conditions for a table. For details about meta code, please refer to Metaprogramming.