Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>mapToObject

Faster and smaller alternative to Ramda
Latest
function mapToObject
import { mapToObject } from "https://deno.land/x/rambda@9.4.1/files/index.d.ts";

Type Parameters

T
U extends object

Parameters

fn: (input: T) => U | false
list: readonly T[]

Type Parameters

T
U extends object

Parameters

fn: (input: T) => U | false

Returns

(list: readonly T[]) => U

Parameters

fn: (input: T) => object | false
list: T[]

Parameters

fn: (input: T) => object | false

Returns

(list: T[]) => U