UNPKG

rxjs-compat

Version:

[![CircleCI](https://circleci.com/gh/ReactiveX/rxjs/tree/6.x.svg?style=svg)](https://circleci.com/gh/ReactiveX/rxjs/tree/6.x) [![npm version](https://badge.fury.io/js/%40reactivex%2Frxjs.svg)](http://badge.fury.io/js/%40reactivex%2Frxjs) [![Join the chat

8 lines 289 B
import { reduce as higherOrderReduce } from 'rxjs/operators'; export function reduce(accumulator, seed) { if (arguments.length >= 2) { return higherOrderReduce(accumulator, seed)(this); } return higherOrderReduce(accumulator)(this); } //# sourceMappingURL=reduce.js.map