You are viewing documentation for version v1.8.x. View latest version.
compact takes a list of strings and returns a new list with any empty string elements removed.
compact
> compact(["a", "", "b", "c"]) [ "a", "b", "c", ]
On this page: