UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

5 lines 408 B
import { Observable } from '../Observable'; import { MonoTypeOperatorFunction, OperatorFunction, TruthyTypesOf } from '../types'; export declare function single<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>; export declare function single<T>(predicate?: (value: T, index: number, source: Observable<T>) => boolean): MonoTypeOperatorFunction<T>; //# sourceMappingURL=single.d.ts.map