UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

3 lines (2 loc) 329 B
export declare function find<T, S extends T>(source: AsyncIterable<T>, predicate: (value: T, index: number) => value is S, thisArg?: any): Promise<S | undefined>; export declare function find<T>(source: AsyncIterable<T>, predicate: (value: T, index: number) => boolean | Promise<boolean>, thisArg?: any): Promise<T | undefined>;