import type { Iteratee } from '../types'; import type { Collection } from '@sdkset/types'; /** * 数组推荐原生:[Array.prototype.every](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/every)。 * 返回一个布尔值,判断给定集合内的所有元素是否都能通过`predicate`真值检测。 * * @example * every({a: 2, b: 4, c: 5}, (val) => val % 2 === 0) * => false * * @param list 给定集合 * @param predicate 谓语迭代器函数,通过 iteratee 进行转换,以简化速记语法 * @param context 上下文对象,若传递,则作为谓语迭代器函数的执行上下文 this */ export declare function every>(list: V, predicate?: I, context?: unknown): boolean;