Skip to main content
variable call
import { call } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Given a key and a set of arguments, call them when given a context. Primarily useful in composition.

Use a closure to call a stored key with stored arguments.

type

(key: string, ...args: any[]) => unknown