method BetterMap.prototype.mapimport { BetterMap } from "https://deno.land/x/bettermap@v1.1.0/mod.ts"; map<T>(fn: (v: V, k: K) => T): T[] | []Map the Map into an Array. Type ParametersTParametersfn: (v: V, k: K) => T Function for mapping. ReturnsT[] | []Array.