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

Checks if type T exactly matches type U.

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