array.filter
Curried function deriving a new array containing items from given array for which predicate returns true. Supports unary function, RegExp, dot/bracket-notation string path, and compound query object as predicate.
Curried function deriving a new array containing items from given array for which predicate returns true. Supports unary function, RegExp, dot/bracket-notation string path, and compound query object as predicate.
Return a shallow copy of an array containing only those elements which fail a test implemented by a predicate function.
Return a shallow copy of an array containing only those elements which pass a test implemented by a predicate function.