Selects the objects that do not meet the condition.
reject(Block condition) | |||
---|---|---|---|
Argument | Block | condition | Condition that the objects which are to be selected must not meet. |
Return value | Map | Map of all key-value pairs that do not meet the condition. |
Formula | Result |
---|---|
=Map{Pair{'A',1}, Pair{'B',2}}.reject(x|x.key='A') | [B»2] |