includes
Determines whether an observable sequence includes a specified element with an optional from index.
Arguments
searchElement
(Any
): The value to locate in the source sequence.[fromIndex]
(Number
): The index to start the search. If not specified, defaults to 0.
Returns
(Observable
): An observable sequence containing a single element determining whether the source sequence includes an element that has the specified value with an optional from index.
Example
Last updated
Was this helpful?