Removes the entry of a map.
excluding(Object keyToRemove) | |||
---|---|---|---|
Argument | Object | keyToRemove | Key for the pair to be removed. |
Return value | Map | Map without the pair to be removed. |
Formula | Result |
---|---|
=Map{Pair{'A',1}, Pair{'B',2}, Pair{'C',3}}.excluding('B') | [A»1, C»3] |