---
title: "isUpper"
canonical: "https://support.appfire.com/space/PSJ/15489599/isUpper"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | isUpper(str) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns "true" if the provided argument **str** is a string containing only upper letters.

Returns "true" if the provided argument **str** is a string containing only upper letters. 

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| str | String | Yes | Specifies a character expression. |

## Return Type

**Boolean (true/false)**

## Examples

### Example 1

```
wret = isUpper("FOOBAR");
print(wret);
```

Print **true**

### Example 2

```
wret = isUpper("aAA2345f.FF");
print(wret);
```

Print **false**

### Example 3

```
wret = isUpper("");
print(wret);
```

Print **false**

> ⚠️ isUpper returns "false" if the character string **str** contains blanks or special characters or is a null string.

## See also

> Macro (contentbylabel)