1 var arraySome = require('./_arraySome'),
2 createOver = require('./_createOver');
5 * Creates a function that checks if **any** of the `predicates` return
6 * truthy when invoked with the arguments it receives.
8 * Following shorthands are possible for providing predicates.
9 * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
10 * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
16 * @param {...(Function|Function[])} [predicates=[_.identity]]
17 * The predicates to check.
18 * @returns {Function} Returns the new function.
21 * var func = _.overSome([Boolean, isFinite]);
32 * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
33 * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
35 var overSome = createOver(arraySome);
37 module.exports = overSome;