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

510 B

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