function map.collectimport { map } from "https://deno.land/x/fun@v2.0.0/mod.ts"; const { collect } = map; collect<B>(O: Sortable<B>): <A, I>(fai: (b: B, a: A) => I) => (ta: ReadonlyMap<B, A>) => ReadonlyArray<I>Type ParametersBParametersO: Sortable<B>Returns<A, I>(fai: (b: B, a: A) => I) => (ta: ReadonlyMap<B, A>) => ReadonlyArray<I>