Module

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

Faster and smaller alternative to Ramda
Latest
function mapToObjectAsync
import { mapToObjectAsync } from "https://dotland.deno.dev/x/rambda@9.4.1/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