UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

14 lines (13 loc) 804 B
import { Observable } from '../Observable'; /** * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. * @param {function} predicate a function for determining if an item meets a specified condition. * @param {any} [thisArg] optional object to use for `this` in the callback * @return {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified. * @method every * @owner Observable */ export declare function every<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<boolean>; export interface EverySignature<T> { (predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<boolean>; }