609 B
609 B
Home > @apextoaster/js-utils > removeNone
removeNone() function
Remove any null or undefined items from the list.
Signature:
export declare function removeNone<TItem>(list: ArrayLike<Maybe<TItem>>): Array<TItem>;
Parameters
Parameter | Type | Description |
---|---|---|
list | ArrayLike<Maybe<TItem>> |
Returns:
Array<TItem>