hugo/content/en/functions/reflect/IsMap.md

19 lines
378 B
Markdown
Raw Normal View History

---
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
```