Input: compact([0, 1, false, 2, "", 3, null]) Output: [1, 2, 3]
Create a new array containing only the truthy values from the input, in their original order.