Skip to main content
Module

x/conditional_type_checks/mod.ts>IsExact

Types for testing TypeScript types.
Latest
type alias IsExact
import { type IsExact } from "https://deno.land/x/conditional_type_checks@1.0.6/mod.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