• Returns the minimum element with the optional selector.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    • TResult = TSource

    Parameters

    • source: AsyncIterable<TSource>

      An async-iterable sequence to determine the minimum element of.

    • Optional options: ExtremaOptions<TSource, TResult>

      The options which include an optional comparer and abort signal.

    Returns Promise<TResult>

    A promise containing the minimum element.

Generated using TypeDoc