default: { byMin_byMax_min_max: { <T>( input: Iterable<T>, selector: undefined | (arg: T) => number, isMin: boolean, isBy: true, ): T; <T>( input: Iterable<T>, selector: undefined | (arg: T) => number, isMin: boolean, isBy: false, ): number; }; concat: <T>(a: Iterable<T>, b: Iterable<T>) => Iterable<T>; distinct: <T, TKey = T>( input: Iterable<T>, keySelector?: (arg: T) => TKey, ) => Iterable<T>; empty: <T = unknown>() => Iterable<T>; flat: <T>(input: Iterable<Iterable<T>>) => Iterable<T>; groupBy: { <T, TKey>( input: Iterable<T>, keySelector: (arg: T) => TKey, ): Iterable<[TKey, T[]]>; <T, TKey, TValue>( input: Iterable<T>, keySelector: (arg: T) => TKey, elementSelector: (arg: T) => TValue, ): Iterable<[TKey, TValue[]]>; }; map: <T, TOut>( input: Iterable<T>, convert: (arg: T, index: number) => TOut, ) => Iterable<TOut>; max: (input: Iterable<number>) => number; maxBy: <T>(input: Iterable<T>, selector: (arg: T) => number) => T; min: (input: Iterable<number>) => number; minBy: <T>(input: Iterable<T>, selector: (arg: T) => number) => T; range: (start: number, count: number) => Iterable<number>; repeat: <T>(input: Iterable<T>, count: number) => Iterable<T>; reverse: <T>(input: Iterable<T>) => Iterable<T>; skip: <T>(input: Iterable<T>, count: number) => Iterable<T>; skipWhile: <T>( input: Iterable<T>, predicate: (arg: T) => boolean, ) => Iterable<T>; take: <T>(input: Iterable<T>, count: number) => Iterable<T>; takeWhile: <T>( input: Iterable<T>, predicate: (arg: T) => boolean, ) => Iterable<T>; where: <T>( input: Iterable<T>, predicate: (arg: T, index: number) => any, ) => Iterable<T>;} = ... Type declaration
byMin_byMax_min_max: {
<T>(
input: Iterable<T>,
selector: undefined | (arg: T) => number,
isMin: boolean,
isBy: true,
): T;
<T>(
input: Iterable<T>,
selector: undefined | (arg: T) => number,
isMin: boolean,
isBy: false,
): number;
}
concat: <T>(a: Iterable<T>, b: Iterable<T>) => Iterable<T>
distinct: <T, TKey = T>(input: Iterable<T>, keySelector?: (arg: T) => TKey) => Iterable<T>
empty: <T = unknown>() => Iterable<T>
flat: <T>(input: Iterable<Iterable<T>>) => Iterable<T>
groupBy: {
<T, TKey>(
input: Iterable<T>,
keySelector: (arg: T) => TKey,
): Iterable<[TKey, T[]]>;
<T, TKey, TValue>(
input: Iterable<T>,
keySelector: (arg: T) => TKey,
elementSelector: (arg: T) => TValue,
): Iterable<[TKey, TValue[]]>;
}
map: <T, TOut>(
input: Iterable<T>,
convert: (arg: T, index: number) => TOut,
) => Iterable<TOut>
max: (input: Iterable<number>) => number
maxBy: <T>(input: Iterable<T>, selector: (arg: T) => number) => T
min: (input: Iterable<number>) => number
minBy: <T>(input: Iterable<T>, selector: (arg: T) => number) => T
range: (start: number, count: number) => Iterable<number>
repeat: <T>(input: Iterable<T>, count: number) => Iterable<T>
reverse: <T>(input: Iterable<T>) => Iterable<T>
skip: <T>(input: Iterable<T>, count: number) => Iterable<T>
skipWhile: <T>(input: Iterable<T>, predicate: (arg: T) => boolean) => Iterable<T>
take: <T>(input: Iterable<T>, count: number) => Iterable<T>
takeWhile: <T>(input: Iterable<T>, predicate: (arg: T) => boolean) => Iterable<T>
where: <T>(
input: Iterable<T>,
predicate: (arg: T, index: number) => any,
) => Iterable<T>