Sha256: 109acf1ed9a3f747a5b18bc36a911fb6ad220e0c632a06f4d077a18a2f2f8a92
Contents?: true
Size: 904 Bytes
Versions: 49
Compression:
Stored size: 904 Bytes
Contents
import { Observable } from '../Observable'; /** * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. * * @example <caption>A simple example emitting true if all elements are less than 5, false otherwise</caption> * Observable.of(1, 2, 3, 4, 5, 6) * .every(x => x < 5) * .subscribe(x => console.log(x)); // -> false * * @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>(this: Observable<T>, predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<boolean>;
Version data entries
49 entries across 49 versions & 4 rubygems