mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
22 lines
458 B
Markdown
22 lines
458 B
Markdown
---
|
|
title: collections.Reverse
|
|
description: Reverses the order of a collection.
|
|
categories: []
|
|
keywords: []
|
|
action:
|
|
aliases: []
|
|
returnType: any
|
|
signatures: [collections.Reverse COLLECTION]
|
|
related:
|
|
- 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]
|
|
```
|