mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-09 17:01:07 -05:00
This also renames some of the existing function pages whose source filenames were not matching the usual naming scheme (.html.md).
388 B
388 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| functions | compact function | docs-funcs-collection-compact | 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
> compact(["a", "", "b", "c"])
[
"a",
"b",
"c",
]