diff options
author | Ricardo N Feliciano <FelicianoTech@gmail.com> | 2018-09-22 14:58:46 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-22 20:58:46 +0200 |
commit | cae07ce84b3bd4a33fd18b5109a1a3c3dce2191c (patch) | |
tree | a3f0ba8983d882fbcad9aee8b19f37ee9e78d3a6 /docs/content/en/functions | |
parent | 4f9c109dc5431553e5dbf98e0ed37487c12e8d16 (diff) |
tpl/collections: Allow first function to return an empty slice
Fixes #5235
Diffstat (limited to 'docs/content/en/functions')
-rw-r--r-- | docs/content/en/functions/first.md | 2 |
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.* |