functions/arrays/compact library

Functions

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