collapse Modifier

Collapses an array of arrays into a flat array. If duplicate keys exist they will get stomped over.

numbers:
- [one, two, three]
- [four, five, six]
yaml
{{ numbers | collapse }}
antlers
numbers:
- one
- two
- three
- four
- five
- six
yaml
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →