aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/reflect/IsSlice.md
blob: cda24a5e1b75e0f4761525a53dc3cdbd79fd6f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: reflect.IsSlice
description: Reports whether the given value is a slice.
categories: []
keywords: []
action:
  aliases: []
  related:
    - functions/reflect/IsMap
  returnType: bool
  signatures: [reflect.IsSlice INPUT]
aliases: [/functions/reflect.isslice]
---

```go-html-template
{{ reflect.IsSlice (slice 1 2 3) }} → true
{{ reflect.IsSlice "yo" }} → false
```