---
schema_version: "1"
id: 2755bfb179e111e663b9bcfd1e460513ed749d7408ca30a34ad947abdad7d881
title: isReferenceType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-types-functions-isreferencetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-types-functions-isreferencetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9e3545c8a42adc43546a4cb36abab13bad9aa3a12bfed5b6cc80c3e7fffc5f38
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# isReferenceType

## [](#isreferencetype1)isReferenceType(t: Type): Boolean

入力種別が Reference (参照) 型の場合は ​`true`​ を返します。

_DataWeave バージョン 2.3.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>t</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">チェックするデータ型。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

```DataWeave
%dw 2.0
output application/json
import * from dw::core::Types
 type AArray = Array<String> {n: 1}
 type AArray2 = Array<AArray>
 ---
 {
     a: isReferenceType( AArray),
     b: isReferenceType(arrayItem(AArray2)),
     c: isReferenceType(String)
 }
```

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

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