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

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

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

_DataWeave バージョン 2.2.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>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(text: Null): Boolean

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

_DataWeave バージョン 2.2.0 で導入されました。_