Demo: every
The every operator verifies if every item satisfies the given condition and emits the result as a boolean value.
every(conditionForEveryItem);
//source with 2 different sets of data
let input = iif(() => (Math.random()>0.5),
of(40,15,20,30),
of(50,15,20,12,30))
.pipe(concatMap(v => of(v).pipe(delay(1000))))
//Verify if every input satisfies the given condition
let process = every((v:number) => v%5===0);
let output=input.pipe(process).subscribe(v=>console.log(v))