diff --git a/content/en/functions/uniq.md b/content/en/functions/uniq.md index 1f0a5659f..73ca32488 100644 --- a/content/en/functions/uniq.md +++ b/content/en/functions/uniq.md @@ -2,24 +2,17 @@ title: uniq linktitle: uniq description: Takes in a slice or array and returns a slice with duplicate elements removed. -date: 2017-02-01 -publishdate: 2017-02-01 -lastmod: 2017-02-01 categories: [functions] menu: docs: - parent: "functions" + parent: functions keywords: [multilingual,i18n,urls] -signature: ["uniq SET"] -workson: [] -hugoversion: -relatedfuncs: [] -deprecated: false +signature: [uniq SET] aliases: [] --- + ``` -{{ uniq (slice 1 2 3 2) }} -{{ slice 1 2 3 2 | uniq }} - +{{ slice 1 3 2 1 | uniq }} --> [1 3 2] + ```