35 packages found
Wraps a function with a function of a sertain arity.
A simple wrapper to make variable length arities easier to manage
Wrap a function in a function that expects a given number of arguments.
Easy `Function` subclasses
A functional JavaScript library that facilitates currying and point-free programming, with optional lambda expressions.
Partially apply function arguments.
Enforce function arity in JavaScript
Clips function argument lengths.
Set the length of a function.
A function is a set of statements that performs a task or calculates a value.
- extra
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- FALSE
- View more
Make functions with a specified length.
Partially apply function arguments from the right.
A function is a set of statements that performs a task or calculates a value {web}.
- extra
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- FALSE
- View more
An async function is a function that delivers its result asynchronously (through Promise) {web}.
- extra
- async
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- View more
An async function is a function that delivers its result asynchronously (through Promise).
- extra
- async
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- View more
Higher-order functions that restrict the arity of a function.
Utility function for dealing with function arguments
coroutine(generator).length === generator.length
Dynamic, extensible multiple dispatch via user supplied dispatch function.
Create a function that invokes a provided function with a specified number of arguments.