collections.Uniq
Returns a slice by removing duplicate elements from the given slice.
- Syntax
- collections.Uniq SLICE
- Returns
- []any
- Alias
- uniq
{{ slice 1 3 2 1 | uniq }} → [1 3 2]Last updated:
October 10, 2026
:
theme: Migrate aliases to a redirects data file (b732eba6c)
Improve this page