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

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>