function mapRe-exportimport { map } from "https://deno.land/x/iterators@v0.2.0/mod.ts"; map<T, FnResult>(iterable: Iterable<T>, fn: (x: T) => FnResult): Generator<FnResult>Apply fn to each item of an iterable. ExamplesExample 1 map(range(10), (x) => x * 2) Type ParametersTFnResultParametersiterable: Iterable<T>Items to map. fn: (x: T) => FnResultThe function to apply. ReturnsGenerator<FnResult>