{% if book.isPdf %}
{% else %}
{% endif %}
Projects each element of an observable sequence into a new form by incorporating the element's index. This is an alias for the select
method.
selector
(Function
): Transform function to apply to each source element. The selector is called with the following information:- the value of the element
- the index of the element
- the Observable object being subscribed
[thisArg]
(Any
): Object to use asthis
when executing the predicate.
(Observable
): An observable sequence which results from the comonadic bind operation.