tpl/collections: Allow first function to return an empty slice

Fixes #5235
This commit is contained in:
Ricardo N Feliciano 2018-09-22 14:58:46 -04:00 committed by Bjørn Erik Pedersen
parent f6dcc93bc3
commit 681f14fc9b

View File

@ -25,3 +25,5 @@ aliases: []
{{ .Render "summary" }}
{{ end }}
```
*Note: Exclusive to `first`, LIMIT can be '0' to return an empty array.*