Using older version of Indicative or @adonisjs/validator?. Click here to access the old version documentation.

sanitizations

upperCase

Converts the field value to upper case. Also, this sanitization rule is locale aware.

You may also specify a locale.