blob: 5f7855df76c2e2ce286973ddc06d8391578e37df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import { reduce } from './reduce';
import { operate } from '../util/lift';
var arrReducer = function (arr, value) { return (arr.push(value), arr); };
export function toArray() {
return operate(function (source, subscriber) {
reduce(arrReducer, [])(source).subscribe(subscriber);
});
}
//# sourceMappingURL=toArray.js.map
|