Create new array without falsey values of *Array* array.
An array of items.
import { Compact } from "@taystack/js-helpers"; Compact([1, false, "", {}, [], null, undefined]) // [1]
Source: @taystack/js-helpers hosted on GitHub Author: taystack