Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/testing/types.ts>NotHas

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias NotHas
import { type NotHas } from "https://deno.land/std@0.204.0/testing/types.ts";

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

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