---
schema_version: "1"
id: 0011d32a448ed56fb4c8f67352e9f59f67da6dfcc82854e97278110cb4e79d15
title: isBinaryType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-types-functions-isbinarytype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-types-functions-isbinarytype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: dc98fec152cbdb95ad21a59ee666851bf3a38e555edeae4a35ae7274e589d35c
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# isBinaryType

## [](#isbinarytype1)isBinaryType(t: Type): Boolean

入力が Binary (バイナリ) 型の場合は ​`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>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::core::Types
type ABinary = Binary
output application/json
---
{
   a: isBinaryType(ABinary),
   b: isBinaryType(Binary),
   c: isBinaryType(String),
}
```

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

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