sequenceEqual
signature: sequenceEqual(compareTo: Observable, comparor?: (a, b) => boolean): Observable
sequenceEqual(compareTo: Observable, comparor?: (a, b) => boolean): Observable
Compares emitted sequence to expected sequence for match
Examples
Example 1: simple sequenceEqual
( Stackblitz )
Example 2: sequenceEqual with keyboard events
( Stackblitz )
Related Recipes
Additional Resources
:newspaper: - Official docs
:file_folder: Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/sequenceEqual.ts
Last updated