[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [mergeArray](./js-utils.mergearray.md) ## mergeArray() function Merge arguments, which may or may not be arrays, into one return that is definitely an array. Signature: ```typescript export declare function mergeArray(...parts: Array>): Array; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | parts | Array<TItem \| Array<TItem>> | | Returns: Array<TItem>