Module

x/rambda/mod.ts>curryN

Faster and smaller alternative to Ramda
Go to Latest
function curryN
import { curryN } from "https://dotland.deno.dev/x/rambda@v8.5.0/mod.ts";

It returns a curried equivalent of the provided function, with the specified arity.

Parameters

length: number
fn: AnyFunction

Returns

(...a: any[]) => any