shithub: hugo

ref: 55e290af41ad1c92af13679d4a84d64985d41456
dir: /docs/content/en/functions/reflect.IsMap.md/

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

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

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