---
schema_version: "1"
id: 5f15f83062620e30ea240aad89632197abdb334f8a7faf4843e5adef7472f0bf
title: isIntersectionType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-types-functions-isintersectiontype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-types-functions-isintersectiontype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: ddcede267b66469f6079797f7b20b96d512ed22c6cb3775e7c667fb0d09f7f15
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# isIntersectionType

## [](#isintersectiontype1)isIntersectionType(t: Type): Boolean

入力種別が Intersection (交差) 型の場合は ​`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>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::core::Types
type AType = {name: String} & {age: Number}
output application/json
---
{
   a: isIntersectionType(AType),
   b: isIntersectionType(Boolean),
}
```

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

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