UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

6 lines 451 B
import type { IterSource, IteratorOrIterable, Predicate } from './types'; /** Return true if every element in this iterator matches the predicate. */ export declare function every<T extends IteratorOrIterable<any>>(arg: T, predicate: Predicate<IterSource<T>>): boolean; export declare function every<T extends IteratorOrIterable<any>>(predicate: Predicate<IterSource<T>>): (arg: T) => boolean; export default every; //# sourceMappingURL=every.d.ts.map