hugo/docs/content/en/functions/reflect/IsMap.md
Bjørn Erik Pedersen 5fd1e74903
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```

Closes #11925
2024-01-27 10:48:57 +01:00

18 lines
378 B
Markdown

---
title: reflect.IsMap
description: Reports whether the given value is a map.
categories: []
keywords: []
action:
aliases: []
related:
- functions/reflect/IsSlice
returnType: bool
signatures: [reflect.IsMap INPUT]
aliases: [/functions/reflect.ismap]
---
```go-html-template
{{ reflect.IsMap (dict "key" "value") }} → true
{{ reflect.IsMap "yo" }} → false
```