toUpperCase
Creates a to upper case transformation action.
const Action = v.toUpperCase();
Returns
ActionToUpperCaseAction
Examples
The following examples show how toUpperCase can be used.
Lower case string
Schema that transforms a string to upper case.
const StringSchema = v.pipe(v.string(), v.toUpperCase());
Related
The following APIs can be combined with toUpperCase.
Schemas
Methods
Utils
© Fabian Hiller
Licensed under the MIT License.
https://valibot.dev/api/toUpperCase/