Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/conditional_type_checks/mod.ts>NotHas

Types for testing TypeScript types.
Latest
type alias NotHas
import { type NotHas } from "https://deno.land/x/conditional_type_checks@1.0.6/mod.ts";

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

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