github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/job-specification/hcl2/functions/collection/concat.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: concat - Functions - Configuration Language
     4  sidebar_title: concat
     5  description: The concat function combines two or more lists into a single list.
     6  ---
     7  
     8  # `concat` Function
     9  
    10  `concat` takes two or more lists and combines them into a single list.
    11  
    12  ## Examples
    13  
    14  ```shell-session
    15  > concat(["a", ""], ["b", "c"])
    16  [
    17    "a",
    18    "",
    19    "b",
    20    "c",
    21  ]
    22  ```