@tempots/std
filterNullsFromArray() function
Filters out null and undefined values from an array.
Signature:
filterNullsFromArray: (arr: ArrayNothing>) => T[]
Parameters
Parameter |
Type |
Description |
---|---|---|
arr |
Array |
The array to filter. |
Returns: T[]
The filtered array.