tpl/collections: Allow first function to return an empty slice
authorRicardo N Feliciano <FelicianoTech@gmail.com>
Sat, 22 Sep 2018 18:58:46 +0000 (14:58 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 22 Sep 2018 18:58:46 +0000 (20:58 +0200)
commitcae07ce84b3bd4a33fd18b5109a1a3c3dce2191c
treea3f0ba8983d882fbcad9aee8b19f37ee9e78d3a6
parent4f9c109dc5431553e5dbf98e0ed37487c12e8d16
tpl/collections: Allow first function to return an empty slice

Fixes #5235
docs/content/en/functions/first.md
tpl/collections/collections.go
tpl/collections/collections_test.go