Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deepmergets/dist/deno/types/utils.ts>EveryIsArray

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

Returns whether or not all the given types are arrays.

Type Parameters

Ts extends ReadonlyArray<unknown>
definition: Ts extends readonly [infer T1] ? IsArray<T1> : Ts extends readonly [infer Head, ...infer Rest] ? IsArray<Head> extends true ? Rest extends readonly [unknown, ...ReadonlyArray<unknown>] ? EveryIsArray<Rest> : false : false : false