Bones/node_modules/rxjs/operator/every.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

9 lines
614 B
TypeScript

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
* @returns {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified.
*/
export declare function every<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<boolean>;