Skip to content

isArrayOrArrayClass

@tsed/core

Usage

typescript
import { isArrayOrArrayClass } from "@tsed/core";

See /packages/core/src/utils/isArray.ts.

Overview

ts
function isArrayOrArrayClass<T = any>(target: unknown): target is T[];

Description

Checks if a value is the Array constructor or an array instance.

Released under the MIT License.