1 | import { ExtremaOptions } from './extremaoptions';
|
2 | /**
|
3 | * Returns the elements in an terable sequence with the minimum key value.
|
4 | *
|
5 | * @export
|
6 | * @template TSource The type of the elements in the source sequence.
|
7 | * @template TKey The type of the key computed for each element in the source sequence.
|
8 | * @param {Iterable<TSource>} source An async-iterable sequence to get the minimum elements for.
|
9 | * @param {ExtremaOptions<TSource, TKey>} [options] The options which include an optional comparer.
|
10 | * @returns {TSource[]} A list of zero or more elements that have a minimum key value.
|
11 | */
|
12 | export declare function minBy<TSource, TKey>(source: Iterable<TSource>, options?: ExtremaOptions<TSource, TKey>): TSource[];
|