no message

This commit is contained in:
A1300399510
2024-01-03 18:31:15 +08:00
parent b2e7cb8f45
commit 3778105266
967 changed files with 114 additions and 140485 deletions

View File

@@ -1,22 +0,0 @@
import baseEach from './_baseEach.js';
/**
* The base implementation of `_.some` 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 any element passes the predicate check,
* else `false`.
*/
function baseSome(collection, predicate) {
var result;
baseEach(collection, function(value, index, collection) {
result = predicate(value, index, collection);
return !result;
});
return !!result;
}
export default baseSome;