Returns an Iterable populated with the results of calling a function for every element of the passed-in iterable.
An iterable or async iterable.
The function used to map each element.
An Iterable or AsyncIterable with each element being the result of func.
// Returns an Iterable representing [2, 4, 6]it.map([1,2,3], x => x * 2) Copy
// Returns an Iterable representing [2, 4, 6]it.map([1,2,3], x => x * 2)
Returns an Iterable populated with the results of calling a function for every element of the passed-in iterable.