Curry
Create a partial a function
Create a partial function by providing some — or all — of the arguments the given function needs.
import { partial } from 'radash' const add = (a: number, b: number) => a + b const addFive = partial(add, 5) addFive(2) // => 7