pipe operator in rxjs

Pipe is introduced so that we can combine any number of operators. const source$ = Observable.range(0, 10); source$ .filter(x => x % 2) .reduce((acc, next) => acc + next, 0) .map(value => value * 2) .subscribe(x => console.log(x)); Above can be converted to: const source$ = Observable.range(0, 10); source$.pipe( filter(x => x % 2), reduce((acc,…