25 lines
645 B
Markdown
25 lines
645 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [mergeList](./js-utils.mergelist.md)
|
||
|
|
||
|
## mergeList() function
|
||
|
|
||
|
Merge arguments, which may or may not be arrays, into one return that is definitely an array.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function mergeList<TItem>(...parts: Array<TItem | Array<TItem>>): Array<TItem>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| parts | <code>Array<TItem | Array<TItem>></code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`Array<TItem>`
|
||
|
|