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

x/rimbu/base/mod.ts>IsArray

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias IsArray
import { type IsArray } from "https://deno.land/x/rimbu@1.0.3/base/mod.ts";

Utility type that will only return true if the input type T is a (readonly) array.

definition: T extends readonly any[] ? true : false