Skip to main content
Module

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

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias Is
import { type Is } from "https://deno.land/x/deepmergets@v4.0.2/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