---
schema_version: "1"
id: b1163e4797f22157a892525206240874d39dd51a3e3019e0e3f0ad792b9d4f62
title: isAlphanumeric
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-strings-functions-isalphanumeric.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-strings-functions-isalphanumeric
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 72c66f21fe43a85985df3e2a8a27f61cf1a955d7eb54aa6293e8a48cc2cd90dc
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# isAlphanumeric

## [](#isalphanumeric1)isAlphanumeric(String): Boolean

`text`​ に Unicode 文字または数字のみが含まれるかどうかを確認します。

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

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

<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>text</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">入力文字列。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力とサイズでの ​`isAlphanumeric`​ の動作を示します。

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

```DataWeave
%dw 2.0
import isAlphanumeric from dw::core::Strings
output application/json
---
{
  "a": isAlphanumeric(null),
  "b": isAlphanumeric(""),
  "c": isAlphanumeric("  "),
  "d": isAlphanumeric("abc"),
  "e": isAlphanumeric("ab c"),
  "f": isAlphanumeric("ab2c"),
  "g": isAlphanumeric("ab-c")
}
```

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

```JSON
{
  "a": false,
  "b": false,
  "c": false,
  "d": true,
  "e": false,
  "f": true,
  "g": false
}
```

## [](#isalphanumeric2)isAlphanumeric(Null): Boolean

`isAlphanumeric`​ を ​`null`​ 値に使用できるようにするヘルパー関数。