Skip to main content
Module

std/_util/assert_type.ts>IsExact

Deno standard library
Go to Latest
type alias IsExact
import { type IsExact } from "https://deno.land/std@0.166.0/_util/assert_type.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