---
schema_version: "1"
id: 952599664f572f0afb30b868ac1529a785533af430b444fd44b91d6c07001370
title: isUpperCase
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-strings-functions-isuppercase.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-strings-functions-isuppercase
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 948c6602155796428eef9524751481d2b1a16ed5bf3dd47704fcf1052d79f45e
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
# isUpperCase

## [](#isuppercase1)isUpperCase(text: String): Boolean

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

_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>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import isUpperCase from dw::core::Strings
output application/json
---
{
  "a": isUpperCase(null),
  "b": isUpperCase(""),
  "c": isUpperCase("  "),
  "d": isUpperCase("ABC"),
  "e": isUpperCase("aBC"),
  "f": isUpperCase("A C"),
  "g": isUpperCase("A1C"),
  "h": isUpperCase("A/C")
}
```

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

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

## [](#isuppercase2)isUpperCase(text: Null): Boolean

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

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