UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

6 lines 458 B
import type { IterSource, Iteratee, IteratorOrIterable } from './types'; /** Returns the maximum value from the input iterator. */ export declare function max<T extends IteratorOrIterable<unknown>>(iteratee?: Iteratee<IterSource<T>, number>): (arg: T) => IterSource<T>; export declare function max<T extends IteratorOrIterable<unknown>>(arg: T, iteratee?: Iteratee<IterSource<T>, number>): IterSource<T>; export default max; //# sourceMappingURL=max.d.ts.map