<div class='type'>Function</div>


<a id='references'></a>


<h2 id="allcaps-locale">allCaps</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun InputTransformation.allCaps(locale: Locale): InputTransformation
```


Returns a `InputTransformation` that forces all text to be uppercase.

This transformation automatically configures the keyboard to capitalize all characters.

#### Parameters

| | |
| --- | --- |
| locale | The `Locale` in which to perform the case conversion. |