modules/array/compact library

Functions

compact<T>(List<T> list) List<T>
Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are falsey.