util-arity
Set the length of a function.
Found 35 results for arity
Set the length of a function.
Wraps a function with a function of a sertain arity.
Stand-in for a function
Wrap a function in a function that expects a given number of arguments.
A functional JavaScript library that facilitates currying and point-free programming, with optional lambda expressions.
Dynamic, extensible multiple dispatch via user supplied dispatch function.
A simple wrapper to make variable length arities easier to manage
Wrap methods preserving arity.
Control function arity.
Create a function that invokes a provided function with a specified number of arguments.
A function is a set of statements that performs a task or calculates a value.
An async function is a function that delivers its result asynchronously (through Promise).
A function is a set of statements that performs a task or calculates a value {web}.
An async function is a function that delivers its result asynchronously (through Promise) {web}.
Partially apply function arguments.
Higher-order functions that restrict the arity of a function.
Easy `Function` subclasses
Makes sure that JavaScript functions are called with the expected number and/or types of parameters.
Partially apply function arguments from the right.
Tiny curry() and curryN() functions. Resulting functions will have the correct arity (length).
A utility for construction objects with runtime arity
Enforce function arity in JavaScript
JavaScript function overloading. Let your function focus on its function.
Function utilities
Utility function for dealing with function arguments
Returns function arity (number of possible arguments) supports all ES6 features including argument destructor and default.
Exposes max arity and other metadata for JS functions
Clips function argument lengths.
coroutine(generator).length === generator.length
A functional JavaScript library that facilitates currying and point-free programming, with optional lambda expressions.
Guess the maximum number of arguments the given function will consume.
Returns function arity (number of possible arguments) supports all ES6 features including argument destructor and default.
Function wrapper that returns an array of functions that all have single arity, which invokes the original function when all the later functions have been called
Dynamic, fully controlled and configurable currying
Make functions with a specified length.