• Determines whether the given async-iterable is empty.

    Type Parameters

    • T

      The type of elements in the source sequence.

    Parameters

    • source: AsyncIterable<T>

      The source async-iterable to determine whether it is empty.

    • Optional signal: AbortSignal

      An optional abort signal to cancel the operation.

    Returns Promise<boolean>

    Returns a promise containing true if the sequence is empty, otherwise false.

Generated using TypeDoc