Returns the new filtered array.
Iterates over properties of object
, returning an array of all elements
predicate
returns truthy for. The predicate is invoked with three
arguments: (value, key, object).
If you want an object in return, consider pickBy
.
Returns the new filtered array.
Iterates over properties of object
, returning an array of all elements
predicate
returns truthy for. The predicate is invoked with three
arguments: (value, key, object).
If you want an object in return, consider pickBy
.
The object to iterate over.
Optional
predicate: PredicateThe function invoked per iteration.
Returns the new filtered array.
Iterates over properties of
object
, returning an array of all elementspredicate
returns truthy for. The predicate is invoked with three arguments: (value, key, object).If you want an object in return, consider
pickBy
.