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

std/testing/types.ts>IsExact

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

Checks if type T exactly matches type U.

definition: TupleMatches<AnyToBrand<T>, AnyToBrand<U>> extends true ? TupleMatches<DeepPrepareIsExact<T>, DeepPrepareIsExact<U>> extends true ? true : false : false