Zachary Shilton 830140157d
website: remove obselete nav data (#10811)
* website: remove obselete sidebar_title frontmatter from docs

* website: bump to latest docs-page

* website: update plugin creation and registration docs

* website: fix broken links
2021-03-31 15:07:00 -04:00

21 lines
353 B
Plaintext

---
page_title: compact - Functions - Configuration Language
description: The compact function removes empty string elements from a list.
---
# `compact` Function
`compact` takes a list of strings and returns a new list with any empty string
elements removed.
## Examples
```shell-session
> compact(["a", "", "b", "c"])
[
"a",
"b",
"c",
]
```