@cool-utils/recall
v1.1.0
Published
Recalls a function with specified default arguments.
Readme
@cool-utils/recall
Recalls a function with specified default arguments.
import recall from "@cool-utils/recall"
function add(a: number, b: number){ return a + b }
const twoplusthree = recall(add, 2, 3)
twoplusthree() // 5
// PLEASE DO NOT
recall(recall, ...)