25 lines
609 B
Markdown
25 lines
609 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [removeNone](./js-utils.removenone.md)
|
|
|
|
## removeNone() function
|
|
|
|
Remove any null or undefined items from the list.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function removeNone<TItem>(list: ArrayLike<Maybe<TItem>>): Array<TItem>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| list | ArrayLike<[Maybe](./js-utils.maybe.md)<!-- --><TItem>> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Array<TItem>
|
|
|