Skip to main content
Module

x/rambda/rambda.js>curryN

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

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

Parameters

length: number
fn: AnyFunction

Returns

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