---
schema_version: "1"
id: 5222238ec23a2673acbbefc026ffb7f2ff9a3e95e5318e4f715a5211b9691d5e
title: isArrayType
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-tree-functions-isarraytype.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-tree-functions-isarraytype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c67c89bdef1597a9070218ef8dda7bfb72afee60bfdd5fed8c3206eaa64c6f2b
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# isArrayType

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## isArrayType(path: Path): Boolean

Returns `true` if the provided `Path` value is an `ARRAY_TYPE` expression.

_Introduced in DataWeave version 2.4.0._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>path</code></p></td><td><p>The <code>Path</code> value to validate.</p></td></tr></tbody></table>

### Example

This example shows how `isArrayType` behaves with different inputs.

#### Source

```DataWeave
%dw 2.0
import * from dw::util::Tree
output application/json
---
{
  a: isArrayType([{kind: OBJECT_TYPE, selector: "user", namespace: null},
                  {kind: ATTRIBUTE_TYPE, selector: "name", namespace: null}]),
  b: isArrayType([{kind: OBJECT_TYPE, selector: "user", namespace: null},
                  {kind: ARRAY_TYPE, selector: 0, namespace: null}]),
  c: isArrayType([{kind: ARRAY_TYPE, selector: 0, namespace: null}])
}
```

#### Output

```Json
{
  "a": false,
  "b": true,
  "c": true
}
```
