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

636 B

Home > @apextoaster/js-utils > mergeArray

mergeArray() function

Merge arguments, which may or may not be arrays, into one return that is definitely an array.

Signature:

export declare function mergeArray<TItem>(...parts: Array<TItem | Array<TItem>>): Array<TItem>;

Parameters

Parameter Type Description
parts Array<TItem | Array<TItem>>

Returns:

Array<TItem>