hugo/docs/content/en/functions/reflect.IsSlice.md
2023-05-22 16:47:07 +02:00

417 B

title description categories menu keywords signature relatedfuncs
reflect.IsSlice Reports if a value is a slice.
functions
docs
parent
functions
reflect
reflection
kind
reflect.IsSlice INPUT
reflect.IsMap

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

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