Search results
35 packages found
Higher-order functions that restrict the arity of a function.
Control function arity.
Stand-in for a function
Tiny curry() and curryN() functions. Resulting functions will have the correct arity (length).
Exposes max arity and other metadata for JS functions
Makes sure that JavaScript functions are called with the expected number and/or types of parameters.
Returns function arity (number of possible arguments) supports all ES6 features including argument destructor and default.
Wrap methods preserving arity.
Returns function arity (number of possible arguments) supports all ES6 features including argument destructor and default.
Dynamic, fully controlled and configurable currying
Guess the maximum number of arguments the given function will consume.
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
JavaScript function overloading. Let your function focus on its function.
Function utilities
A utility for construction objects with runtime arity