Filters the elements of an observable sequence based on a predicate. This is an alias for the where method.
where
predicate (Function): A function to test each source element for a condition. The callback is called with the following information:
predicate
Function
the value of the element
the index of the element
the Observable object being subscribed
[thisArg] (Any): Object to use as this when executing the predicate.
[thisArg]
Any
this
(Observable): An observable sequence that contains elements from the input sequence that satisfy the condition.
Observable
Last updated 5 years ago