import { ArrPred } from '../typings/types'; interface Any { (fn: ArrPred, list: ArrayLike): boolean; (fn: ArrPred): (list: ArrayLike) => boolean; } /** * Returns `true` if at least one of elements of the list match the predicate, * `false` otherwise. * * @param {Function} fn The predicate function. * @param {Array} arr The array to consider. * @return {Boolean} `true` if the predicate is satisfied by at least one element, `false` * otherwise. * @example * * var lessThan0 = x => x < 0; * var lessThan2 = x => x < 2; * any(lessThan0)([1, 2]); //=> false * any(lessThan2)([1, 2]); //=> true */ declare const _default: Any; export default _default;