reduce.js 289 B

12345678
  1. import { reduce as higherOrderReduce } from 'rxjs/operators';
  2. export function reduce(accumulator, seed) {
  3. if (arguments.length >= 2) {
  4. return higherOrderReduce(accumulator, seed)(this);
  5. }
  6. return higherOrderReduce(accumulator)(this);
  7. }
  8. //# sourceMappingURL=reduce.js.map