---
schema_version: "1"
id: 94cbc26d7ac6c15aee93d095b703f6ae680bfac275ec079bedc61961fd59ac40
title: isAttributeType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-tree-functions-isattributetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-tree-functions-isattributetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c2f4c4d0f1dada236248eee533edd36c0cad99c9e2ab2d7eff6d1eae75f0f5de
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
# isAttributeType

## [](#isattributetype1)isAttributeType(path: Path): Boolean

指定された ​`Path`​ 値が ​`ATTRIBUTE_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>

### [](#例)例

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

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

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

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

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