R/util.R
filter.Rd
Analogous to Array.filter in Javascript. A wrapper around base::Filter which provides the same parameter order.
Array.filter
base::Filter
filter(object, func)
The object to filter
The predicate function