@newdash/newdash
Version:
javascript/typescript utility library
12 lines (11 loc) • 442 B
TypeScript
export default baseEvery;
/**
* 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`
*/
declare function baseEvery(collection: any[] | any, predicate: Function): boolean;