ยปcompact
Function
compact
takes a list of strings and returns a new list with any empty string
elements removed.
Examples
compact
Functioncompact
takes a list of strings and returns a new list with any empty string
elements removed.
> compact(["a", "", "b", "c"])
[
"a",
"b",
"c",
]