hugo/docs/content/en/functions/reflect.IsMap.md

520 B

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

reflect.IsMap reports if VALUE is a map. Returns a boolean.

{{ reflect.IsMap (dict "key" "value") }} → true
{{ reflect.IsMap "yo" }} → false