Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Equal

type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? true : false;

§Type Parameters

§Type

§
(<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? true : false
[src]