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

24 lines
451 B
Markdown
Raw Normal View History

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