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

x/netzo/deps/react-hook-form.ts>IsEqual

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias IsEqual
import { type IsEqual } from "https://deno.land/x/netzo@0.5.107/deps/react-hook-form.ts";

Checks whether T1 can be exactly (mutually) assigned to T2

definition: T1 extends T2 ? (<G>() => G extends T1 ? 1 : 2) extends <G>() => G extends T2 ? 1 : 2 ? true : false : false