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