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

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

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

Type Parameters

T
U extends object

Parameters

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

Returns

Promise<U>

Type Parameters

T
U extends object

Parameters

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

Returns

(list: readonly T[]) => Promise<U>

Parameters

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

Parameters

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

Returns

(list: T[]) => U