Bump to v4.17.20.

This commit is contained in:
Benjamin Tan
2020-12-20 14:19:47 +08:00
parent 4d5fdc492f
commit 42e2585e5f
16 changed files with 78 additions and 25 deletions

View File

@@ -5,6 +5,10 @@ import createOver from './_createOver.js';
* Creates a function that checks if **any** of the `predicates` return
* truthy when invoked with the arguments it receives.
*
* Following shorthands are possible for providing predicates.
* Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
* Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
*
* @static
* @memberOf _
* @since 4.0.0
@@ -24,6 +28,9 @@ import createOver from './_createOver.js';
*
* func(NaN);
* // => false
*
* var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
* var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
*/
var overSome = createOver(arraySome);