Contents
Updated on 2021-02-09
Map Operator
Can be imported from here:
|
|
What it does?
It functions in a similar fashion to Array.prototype.map(). It receives values from passing observable and modifies it as intended in the mapping function.
Example 1
To understand
interval
operator, visit interval operator
|
|
Output:
|
|
Example 2 (transform value into more complex form)
|
|
Output:
|
|
Комментарии