compact library

Functions

compact(List array) → List
Creates an array with all falsey values removed. The values false, null, 0, "", and NaN are falsey. Example [...]