diff options
Diffstat (limited to 'docs/content/en/functions/collections/Reverse.md')
-rw-r--r-- | docs/content/en/functions/collections/Reverse.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/content/en/functions/collections/Reverse.md b/docs/content/en/functions/collections/Reverse.md new file mode 100644 index 000000000..d0a449763 --- /dev/null +++ b/docs/content/en/functions/collections/Reverse.md @@ -0,0 +1,19 @@ +--- +title: collections.Reverse +description: Reverses the order of a collection. +categories: [] +keywords: [] +action: + aliases: [] + related: + - functions/collections/Sort + - functions/collections/Shuffle + - functions/collections/Uniq + returnType: any + signatures: [collections.Reverse COLLECTION] +aliases: [/functions/collections.reverse] +--- + +```go-html-template +{{ slice 2 1 3 | collections.Reverse }} → [3 1 2] +``` |