English
Appearance
Converts the string to lower case. The result goes to data.
data
function toLowerCase(): Action<string>
const Login = object({ email: pipe(string(), trim(), toLowerCase(), email()), username: pipe(string(), toLowerCase()), });