Home > @jview/utils > isArray
isArray() function
是否是数组类型
Signature:
typescript
export declare function isArray<T = unknown>(val: unknown): val is T[];
export declare function isArray<T = unknown>(val: unknown): val is T[];
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is T[]