packer-cn/website/pages/docs/from-1.5/functions/collection/concat.mdx

23 lines
370 B
Plaintext

---
layout: docs
page_title: concat - Functions - Configuration Language
sidebar_title: concat
description: The concat function combines two or more lists into a single list.
---
# `concat` Function
`concat` takes two or more lists and combines them into a single list.
## Examples
```shell-session
> concat(["a", ""], ["b", "c"])
[
"a",
"",
"b",
"c",
]
```