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

25 lines
640 B
Markdown
Raw Normal View History

2020-03-29 13:43:52 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [mergeArrays](./js-utils.mergearrays.md)
2020-03-29 13:43:52 +00:00
## mergeArrays() function
2020-03-29 13:43:52 +00:00
Merge arguments, which may or may not be arrays, into one return that is definitely an array.
<b>Signature:</b>
```typescript
export declare function mergeArrays<TItem>(...parts: Array<TItem | Array<TItem>>): Array<TItem>;
2020-03-29 13:43:52 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| parts | Array&lt;TItem \| Array&lt;TItem&gt;&gt; | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
Array&lt;TItem&gt;
2020-03-29 13:43:52 +00:00