mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-11 07:24:45 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
18 lines
378 B
Markdown
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
|
|
```
|