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

26 lines
515 B
Markdown

---
title: collections.Reverse
description: Reverses the order of a collection.
categories: [functions]
keywords: []
menu:
docs:
parent: functions
function:
aliases: []
returnType: any
signatures: [collections.Reverse COLLECTION]
relatedFunctions:
- collections.Apply
- collections.Delimit
- collections.In
- collections.Reverse
- collections.Seq
- collections.Slice
aliases: [/functions/collections.reverse]
---
```go-html-template
{{ slice 2 1 3 | collections.Reverse }} → [3 1 2]
```