---
page_title: concat function reference
description: The `concat` function combines two or more lists into a single list. Learn how to use the `concat` function in Packer templates.
---

# `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",
]
```
