---
schema_version: "1"
id: ce48e12ebc334abef300e279a4be65fcf8c2fbb858403f85266d0eec369f6ff6
title: isNamespaceType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-types-functions-isnamespacetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-types-functions-isnamespacetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1d4b916ce3c2599c0a0c0e8f40b9a6093e7d0da5b249e278a9372acc3528c4cc
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
# isNamespaceType

## [](#isnamespacetype1)isNamespaceType(t: Type): Boolean

入力が Namespace (名前空間) 型の場合は ​`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>

### [](#例)例

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

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

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

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

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