Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
variable negate
import { negate } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Negates a predicate function.

Take a predicate function and apply the not operator (!) to it with its arguments.

type

(func: Function) => unknown