CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
overEvery.js35 linesDownload Raw Back to lodash
1var arrayEvery = require('./_arrayEvery'),2    createOver = require('./_createOver');3 4/**5 * Creates a function that checks if **all** of the `predicates` return6 * truthy when invoked with the arguments it receives.7 *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.11 *12 * @static13 * @memberOf _14 * @since 4.0.015 * @category Util16 * @param {...(Function|Function[])} [predicates=[_.identity]]17 *  The predicates to check.18 * @returns {Function} Returns the new function.19 * @example20 *21 * var func = _.overEvery([Boolean, isFinite]);22 *23 * func('1');24 * // => true25 *26 * func(null);27 * // => false28 *29 * func(NaN);30 * // => false31 */32var overEvery = createOver(arrayEvery);33 34module.exports = overEvery;35 
basant307/AI_Governance_Project · CoolFace