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

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

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

Returns whether or not the given type is an array.

definition: And<Not<IsNever<T>>, T extends ReadonlyArray<unknown> ? true : false>