---
schema_version: "1"
id: ee651b56e13e9323b3f7aa7b0e3219f10902e2b6312e44ed5578ffb61ed2203b
title: isRegexType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-types-functions-isregextype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-types-functions-isregextype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1a392bbdd229c603f17304c907668e78f003b163349f9f05e6f4f274da0764ba
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# isRegexType

## [](#isregextype1)isRegexType(Type): Boolean

入力が Regex (正規表現) 型の場合は ​`true`​ を返します。

_DataWeave 2.3.0 で導入されました。Mule 4.3 以降でサポートされます。_​

### [](#パラメーター)パラメーター

<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">t</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">チェックするデータ型。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::core::Types
type ARegex = Regex
output application/json
---
{
   a: isRegexType(ARegex),
   b: isRegexType(Regex),
   c: isRegexType(Boolean),
}
```

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

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