array/compact library

Functions

compact<T>(List<T> array) List<T>
Returns a new list with all null, empty, false, or NaN elements removed from the input list.