Filter Observable array angular 6 code example
Example: observable filter angular 8
import { filter } from 'rxjs/operators';
...
this.router.events.pipe(
filter( event => event instanceof NavigationEnd)
)
import { filter } from 'rxjs/operators';
...
this.router.events.pipe(
filter( event => event instanceof NavigationEnd)
)