pluck
signature: pluck(properties: ...args): Observable
pluck(properties: ...args): Observable
Select property to emit.
New to transformation operators? Check out the article Get started transforming streams with map, pluck, and mapTo!
Examples
Example 1: Pluck object property
( StackBlitz | jsBin | jsFiddle )
Example 2: Pluck nested properties
( StackBlitz | jsBin | jsFiddle )
Related Recipes
Additional Resources
pluck 📰 - Official docs
📁 Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pluck.ts
Last updated