Creates an iterable of values by running each element in list through fn. The fn is invoked with two arguments: (value, index).
map(n => 2 * n, [1, 2, 3, 4]); //=> Iterable<[2, 4, 6, 8]>
Iterable map function
The iterable target
Generated using TypeDoc
Creates an iterable of values by running each element in list through fn. The fn is invoked with two arguments: (value, index).