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

x/deepmergets/src/types/utils.ts>Is

Deeply merge 2 or more objects respecting type information.
Latest
type alias Is
import { type Is } from "https://deno.land/x/deepmergets@v7.1.3/src/types/utils.ts";

Safely test whether or not the first given types extends the second.

Needed in particular for testing if a type is "never".

definition: [T1] extends [T2] ? true : false