Initial commit
[yaffs-website] / node_modules / sass-graph / node_modules / lodash / overSome.js
1 var arraySome = require('./_arraySome'),
2     createOver = require('./_createOver');
3
4 /**
5  * Creates a function that checks if **any** of the `predicates` return
6  * truthy when invoked with the arguments it receives.
7  *
8  * @static
9  * @memberOf _
10  * @since 4.0.0
11  * @category Util
12  * @param {...(Function|Function[])} [predicates=[_.identity]]
13  *  The predicates to check.
14  * @returns {Function} Returns the new function.
15  * @example
16  *
17  * var func = _.overSome([Boolean, isFinite]);
18  *
19  * func('1');
20  * // => true
21  *
22  * func(null);
23  * // => true
24  *
25  * func(NaN);
26  * // => false
27  */
28 var overSome = createOver(arraySome);
29
30 module.exports = overSome;