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

x/rambda/mod.ts>curryN

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

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

Parameters

length: number
fn: AnyFunction

Returns

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