---
schema_version: "1"
id: ef45c42b6a5306856a5be92f9e66dc44c4a0ee638b5d89923fc94d7c72e82be6
title: isArrayType
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.6/dw-types-functions-isarraytype.md
canonical_url: https://docs.mulesoft.com/dataweave/2.6/dw-types-functions-isarraytype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 11fa3e8d66f2f2d32f5cfbbce4c6522c84db135f7c762ed83b7d03beb0d71570
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(t: Type): Boolean

Returns `true` if the input type is the Array type.

_Introduced in DataWeave version 2.3.0._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>t</code></p></td><td><p>The type to check.</p></td></tr></tbody></table>

### Example

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

#### Source

```DataWeave
%dw 2.0
import * from dw::core::Types
type AType = Array<String>
output application/json
---
{
   a: isArrayType(AType),
   b: isArrayType(Boolean),
}
```

#### Output

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