hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

reflect.IsMap.md (510B)

    1 ---
    2 title: reflect.IsMap
    3 description: Reports if a value is a map.
    4 date: 2018-11-28
    5 publishdate: 2018-11-28
    6 lastmod: 2018-11-28
    7 categories: [functions]
    8 menu:
    9   docs:
   10     parent: "functions"
   11 keywords: [reflect, reflection, kind]
   12 signature: ["reflect.IsMap INPUT"]
   13 workson: []
   14 hugoversion: "v0.53"
   15 relatedfuncs: [reflect.IsSlice]
   16 deprecated: false
   17 ---
   18 
   19 `reflect.IsMap` reports if `VALUE` is a map.  Returns a boolean.
   20 
   21 ```
   22 {{ reflect.IsMap (dict "key" "value") }} → true
   23 {{ reflect.IsMap "yo" }} → false
   24 ```