Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using filter and pipe in rxjs

const ob$: Observable<number> = of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10).pipe(filter( v => v % 2 === 0), map( v => v * 10));
Source by www.techiediaries.com #
 
PREVIOUS NEXT
Tagged: #filter #pipe #rxjs
ADD COMMENT
Topic
Name
1+8 =