hugo/docs/content/en/functions/reflect.IsSlice.md
2021-10-31 13:53:55 +01:00

514 B

title description 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