import { default } from "https://deno.land/x/collection@v1.0.1/src/Collection.ts";
Maps each item to another value into a collection. Identical in behavior to Array.map().
Examples
collection.mapValues(user => user.tag);
collection.mapValues(user => user.tag);
Parameters
fn: () => T
value: V,
key: K,
collection: this,
Function that produces an element of the new collection, taking three arguments
Returns
Collection<K, T>