Pluck

See also

  • Official ReactiveX documentation: Pluck
Observable.pluck(key)

Retrieves the value of a specified key using dict-like access (as in element[key]) from all elements in the Observable sequence.

Keyword arguments: key {String} The key to pluck.

Returns a new Observable {Observable} sequence of key values.

To pluck an attribute of each element, use pluck_attr.

../../_images/pluck.png