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]
{{ numbers | collapse }}
numbers: - one - two - three - four - five - six
collapse
ModifierCollapses an array of arrays into a flat array. If duplicate keys exist they will get stomped over.
numbers: - [one, two, three] - [four, five, six]
{{ numbers | collapse }}
numbers: - one - two - three - four - five - six
Submit improvements, related content, or suggestions through Github.
Betterify this page →