Collection
Reject

_.reject()

_.reject(collection, [predicate=_.identity])

The opposite of _.filter; this method returns the elements of collection that predicate does not return truthy for.

Arguments

collection (Array|Object): The collection to iterate over.
[predicate=_.identity] (Function): The function invoked per iteration.

Returns

(Array): Returns the new filtered array.

Example

Deep