hugo/docs/content/en/functions/collections/Uniq.md
2023-10-20 09:43:56 +02:00

503 B

title linkTitle description categories keywords menu function relatedFunctions aliases
collections.Uniq uniq Takes in a slice or array and returns a slice with duplicate elements removed.
functions
docs
parent
functions
aliases returnType signatures
uniq
any
collections.Uniq COLLECTION
collections.Reverse
collections.Shuffle
collections.Sort
collections.Uniq
/functions/uniq
{{ slice 1 3 2 1 | uniq }} → [1 3 2]