Skip to main content
type alias NotHas
import { type NotHas } from "https://deno.land/x/conditional_type_checks@1.0.5/mod.ts";

Checks if type T does not have the specified type U.

definition: Has<T, U> extends false ? true : false