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 | Collection | Collection of all objects that do not meet the condition. The collection has the same type, as the collection, that reject is sent to. |
Formula | Result |
---|---|
=List{1,1,2}.reject(x|x=1) | [2] |