import { ListIterateeCustom } from '../_internal/ListIterateeCustom.js'; import { ObjectIterateeCustom } from '../_internal/ObjectIteratee.js'; /** * Checks if predicate returns truthy for any element of collection. * * @template T * @param {ArrayLike | null | undefined} collection - The collection to iterate over. * @param {ListIterateeCustom} [predicate] - The function invoked per iteration. * @returns {boolean} Returns `true` if any element passes the predicate check, else `false`. * * @example * some([null, 0, 'yes', false], Boolean); * // => true */ declare function some(collection: ArrayLike | null | undefined, predicate?: ListIterateeCustom): boolean; /** * Checks if predicate returns truthy for any element of collection. * * @template T * @param {T | null | undefined} collection - The object to iterate over. * @param {ObjectIterateeCustom} [predicate] - The function invoked per iteration. * @returns {boolean} Returns `true` if any element passes the predicate check, else `false`. * * @example * some({ 'a': 0, 'b': 1, 'c': 0 }, function(n) { return n > 0; }); * // => true */ declare function some(collection: T | null | undefined, predicate?: ObjectIterateeCustom): boolean; export { some };