compact takes a list of strings and returns a new list with any empty string
elements removed.
Examples
> compact(["a", "", "b", "c"])
[
"a",
"b",
"c",
]
We use cookies & other similar technology to collect data to improve your experience on our site, as described in our Privacy Policy and Cookie Policy.