Skip to content

Bars Specification 0.1.0 — Transform: concat

Category: list · Since: 0.1.0

Appends another list's elements.

Returns a new list containing the input's elements followed by other's elements. A non-list input or a non-list other is a soft failure yielding null.

Input coercion: list

Arguments

Name Type Optional Default
other list no

Arity: 1–1

Worked examples

{{ a | concat: b }}

[1,2,3,4]
{{ a | concat: b }}

["x","y","z"]

Full fixture: transforms/transform-concat.json