hugo/docs/content/en/functions/reflect.IsSlice.md
Cameron Moore 9e4f9e0bb6 tpl: Fix reflect
Fixes #5564
2018-12-28 10:41:46 +01:00

524 B

title description godocref date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated
reflect.IsSlice Reports if a value is a slice. 2018-11-28 2018-11-28 2018-11-28
functions
docs
parent
functions
reflect
reflection
kind
reflect.IsSlice INPUT
0.53
reflect.IsMap
false

reflect.IsSlice reports if VALUE is a slice. Returns a boolean.

{{ reflect.IsSlice (slice 1 2 3) }} → true
{{ reflect.IsSlice "yo" }} → false