UNPKG

573 BTypeScriptView Raw
1import { ExtremaOptions } from './extremaoptions';
2/**
3 * * Returns the minimum element with the optional selector.
4 *
5 * @export
6 * @template TSource The type of the elements in the source sequence.
7 * @param {Iterable<TSource>} source An iterable sequence to determine the minimum element of.
8 * @param {ExtremaByOptions<TKey>} [options] The options which include an optional comparer.
9 * @returns {TResult} The minimum element.
10 */
11export declare function min<TSource, TResult = TSource>(source: Iterable<TSource>, options?: ExtremaOptions<TSource, TResult>): TResult;