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

Returns true if both functions return true for a given set of arguments, false otherwise. Use the logical and (&&) operator on the result of calling the two functions with the supplied args.

type

(f: Function, g: Function) => unknown