a zip code crypto-currency system good for red ONLY

every.js 885B

12345678910111213141516171819
  1. import { every as higherOrder } from '../operators/every';
  2. /**
  3. * Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
  4. *
  5. * @example <caption>A simple example emitting true if all elements are less than 5, false otherwise</caption>
  6. * Observable.of(1, 2, 3, 4, 5, 6)
  7. * .every(x => x < 5)
  8. * .subscribe(x => console.log(x)); // -> false
  9. *
  10. * @param {function} predicate A function for determining if an item meets a specified condition.
  11. * @param {any} [thisArg] Optional object to use for `this` in the callback.
  12. * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified.
  13. * @method every
  14. * @owner Observable
  15. */
  16. export function every(predicate, thisArg) {
  17. return higherOrder(predicate, thisArg)(this);
  18. }
  19. //# sourceMappingURL=every.js.map