---
schema_version: "1"
id: 7f7117993666d0e6ce4029c6ce2f1f917d08b7992243356c72e0770448b3be85
title: isArrayType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-tree-functions-isarraytype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-tree-functions-isarraytype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b072f62dbd3e6ee16f7b68f4484e12e69cd3f35e2ebbf192ad05f8fd060cad61
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# isArrayType

## [](#isarraytype1)isArrayType(path: Path): Boolean

指定された ​`Path`​ 値が ​`ARRAY_TYPE`​ 式の場合、​`true`​ を返します。

_DataWeave バージョン 2.4.0 で導入されました。_

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>path</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">検証する ​<code>Path</code>​ 値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`isArrayType`​ の動作を示します。

#### [](#ソース)ソース

```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}])
}
```

#### [](#出力)出力

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