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

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

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

Returns whether or not all the given types are never.

Type Parameters

Ts extends ReadonlyArray<unknown>
definition: Ts extends readonly [infer Head, ...infer Rest] ? IsNever<Head> extends true ? Rest extends ReadonlyArray<unknown> ? EveryIsNever<Rest> : true : false : true