summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorRicardo N Feliciano <FelicianoTech@gmail.com>2018-09-22 14:58:46 -0400
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-22 20:58:46 +0200
commitcae07ce84b3bd4a33fd18b5109a1a3c3dce2191c (patch)
treea3f0ba8983d882fbcad9aee8b19f37ee9e78d3a6 /docs/content
parent4f9c109dc5431553e5dbf98e0ed37487c12e8d16 (diff)
tpl/collections: Allow first function to return an empty slice
Fixes #5235
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/en/functions/first.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/en/functions/first.md b/docs/content/en/functions/first.md
index 464dfa671..e4c0a848d 100644
--- a/docs/content/en/functions/first.md
+++ b/docs/content/en/functions/first.md
@@ -25,3 +25,5 @@ aliases: []
{{ .Render "summary" }}
{{ end }}
```
+
+*Note: Exclusive to `first`, LIMIT can be '0' to return an empty array.*