import { ArrPred } from '../typings/types'; interface All { (fn: ArrPred, list: ArrayLike): boolean; (fn: ArrPred): (list: ArrayLike) => boolean; } /** * Returns `true` if all the elements of the array 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 all elements, `false` * otherwise. * @example * * var lessThan2 = x => x < 2; * var lessThan3 = x => x < 3; * all(lessThan2)([1, 2]); //=> false * all(lessThan3)([1, 2]); //=> true */ declare const _default: All; export default _default;