Files
NapCatQQ/.pnpm-store/v3/files/6e/3c2e377df87645e0eb1685558be8551ee539dfba985d11dbf8ee6ebd4e03e40eba734ba25d888b85dd817ba132c2bc64b3e436ea2d38111177b8f6fb2d3625
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

22 lines
623 B
Plaintext

import baseEach from './_baseEach.js';
/**
* The base implementation of `_.every` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {boolean} Returns `true` if all elements pass the predicate check,
* else `false`
*/
function baseEvery(collection, predicate) {
var result = true;
baseEach(collection, function(value, index, collection) {
result = !!predicate(value, index, collection);
return result;
});
return result;
}
export default baseEvery;