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

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