---
schema_version: "1"
id: 72d8d9605aa8c00f1943da95d18764cc6c5cae15481064d3189bb0e770dddb45
title: isNothingType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-types-functions-isnothingtype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-types-functions-isnothingtype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a893c7b360fead10fce334de0ce1adbf21dd1cc2cac9422eba7fcc8ed2dfd570
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
# isNothingType

## [](#isnothingtype1)isNothingType(t: Type): Boolean

入力が Nothing (なし) 型の場合は ​`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>

### [](#例)例

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

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

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

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

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