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

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

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

Parameters

fns: Array<(a: T) => U>[]
vs: T[]

Parameters

fns: Array<(a: T) => U>

Returns

(vs: T[]) => U[]

Parameters

fn: (r: R, a: A) => B
fn1: (r: R) => A

Returns

(r: R) => B