hugo/docs/content/en/functions/reflect/IsMap.md
2023-10-20 09:43:56 +02:00

23 lines
451 B
Markdown

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