mirror of https://github.com/gohugoio/hugo
19 lines
378 B
Markdown
19 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
|
|
```
|