collections.Uniq
Returns the given collection, removing duplicate elements.
Syntax
collections.Uniq COLLECTION
Returns
any
Alias
uniq
{{ slice 1 3 2 1 | uniq }} → [1 3 2]
Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this page