scan.js 277 B

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