Bump to v4.17.20.

This commit is contained in:
Benjamin Tan
2020-08-14 00:52:31 +08:00
parent f9cd8f552b
commit f2e7063ee4
19 changed files with 337 additions and 210 deletions

View File

@@ -39,6 +39,10 @@ var arrayFilter = require('./_arrayFilter'),
* // The `_.property` iteratee shorthand.
* _.filter(users, 'active');
* // => objects for ['barney']
*
* // Combining several predicates using `_.overEvery` or `_.overSome`.
* _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
* // => objects for ['fred', 'barney']
*/
function filter(collection, predicate) {
var func = isArray(collection) ? arrayFilter : baseFilter;