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

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