function mapToObjectimport { mapToObject } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; mapToObject<T, U extends object>(fn: (input: T) => U | false, list: readonly T[]): UmapToObject<T, U extends object>(fn: (input: T) => U | false): (list: readonly T[]) => UmapToObject<T, U>(fn: (input: T) => object | false, list: T[]): UmapToObject<T, U>(fn: (input: T) => object | false): (list: T[]) => UType ParametersTU extends objectParametersfn: (input: T) => U | falselist: readonly T[]ReturnsUType ParametersTU extends objectParametersfn: (input: T) => U | falseReturns(list: readonly T[]) => UType ParametersTUParametersfn: (input: T) => object | falselist: T[]ReturnsUType ParametersTUParametersfn: (input: T) => object | falseReturns(list: T[]) => U