1
0
Fork 0
js-utils/docs/api/js-utils.isarray.md

578 B

Home > @apextoaster/js-utils > isArray

isArray() function

Wrapper for Array.isArray with better readonly type handling.

Signature:

export declare function isArray<TVal>(list: TVal | Array<TVal>): list is Array<TVal>;

Parameters

Parameter Type Description
list TVal | Array<TVal>

Returns:

list is Array<TVal>