summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/collections/Uniq.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/collections/Uniq.md')
-rw-r--r--docs/content/en/functions/collections/Uniq.md13
1 files changed, 4 insertions, 9 deletions
diff --git a/docs/content/en/functions/collections/Uniq.md b/docs/content/en/functions/collections/Uniq.md
index 1b0a8f8f4..8266142ac 100644
--- a/docs/content/en/functions/collections/Uniq.md
+++ b/docs/content/en/functions/collections/Uniq.md
@@ -1,17 +1,13 @@
---
title: collections.Uniq
-linkTitle: uniq
-description: Takes in a slice or array and returns a slice with duplicate elements removed.
-categories: [functions]
+description: Returns the given collection, removing duplicate elements.
+categories: []
keywords: []
-menu:
- docs:
- parent: functions
-function:
+action:
aliases: [uniq]
returnType: any
signatures: [collections.Uniq COLLECTION]
-relatedFunctions:
+related:
- collections.Reverse
- collections.Shuffle
- collections.Sort
@@ -19,7 +15,6 @@ relatedFunctions:
aliases: [/functions/uniq]
---
-
```go-html-template
{{ slice 1 3 2 1 | uniq }} → [1 3 2]
```