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