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

Creates a function that accepts up to two arguments, ignoring any additional arguments. Call the provided function, fn, with the first two arguments given.

type

(fn: (...args: any[]) => any) => unknown