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