summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/collections/Slice.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/collections/Slice.md')
-rw-r--r--docs/content/en/functions/collections/Slice.md14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/content/en/functions/collections/Slice.md b/docs/content/en/functions/collections/Slice.md
index a30800ed3..e24b394ca 100644
--- a/docs/content/en/functions/collections/Slice.md
+++ b/docs/content/en/functions/collections/Slice.md
@@ -1,17 +1,13 @@
---
title: collections.Slice
-linkTitle: slice
-description: Creates a slice (array) of all passed arguments.
-categories: [functions]
+description: Creates a slice of all passed arguments.
+categories: []
keywords: []
-menu:
- docs:
- parent: functions
-function:
+action:
aliases: [slice]
returnType: any
signatures: [collections.Slice ITEM...]
-relatedFunctions:
+related:
- collections.Append
- collections.Apply
- collections.Delimit
@@ -22,8 +18,6 @@ relatedFunctions:
aliases: [/functions/slice]
---
-One use case is the concatenation of elements in combination with the [`delimit` function]:
-
```go-html-template
{{ $s := slice "a" "b" "c" }}
{{ $s }} → [a b c]