• Determines whether any element of an async-iterable sequence satisfies a condition.

    Type Parameters

    • T

      The type of the elements in the source sequence.

    Parameters

    • source: AsyncIterable<T>

      An async-iterable sequence whose elements to apply the predicate to.

    • options: FindOptions<T>

      The options which includes a required predicate, an optional thisArg for binding, and an abort signal for cancellation.

    Returns Promise<boolean>

    A promise with a boolean determining whether any elements in the source sequence pass the test in the specified predicate.

Generated using TypeDoc