---
schema_version: "1"
id: 0665d82e24d485f8bed58e5c8414adf43dcb189886a2cf890b287deb88b901f4
title: isNullType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-types-functions-isnulltype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-types-functions-isnulltype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 47c25605f053fc474e5cf51813d629b6f9a3bd609a7b7ff0ad9e975b7eac996c
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# isNullType

## [](#isnulltype1)isNullType(t: Type): Boolean

入力が Null 型の場合は ​`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>

### [](#例)例

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

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

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

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

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