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

24 lines
418 B
Plaintext

---
layout: docs
page_title: concat - Functions - Configuration Language
sidebar_title: 'concat'
sidebar_current: configuration-functions-collection-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
```
> concat(["a", ""], ["b", "c"])
[
"a",
"",
"b",
"c",
]
```