Skip to content
On this page

isArray

Identifies if a value is an array.

Type Definitions

ts
/**
 * @param val - The value.
 * @returns If the value is an array.
 */
export declare function isArray(val: unknown): val is any[]
1
2
3
4
5