You are viewing documentation for version v1.5.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: