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

## [](#isanytype1)isAnyType(t: Type): Boolean

入力が Any (任意) 型の場合は ​`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>

### [](#例)例

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

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

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

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

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