Creates a validation functions that validates a email.
const validate = email(error);
Parameter
error
string
Return
validate
(value:
MaybeValue<
) =>string
>string
Creates a validation functions that validates a email.
const validate = email(error);
error
string
validate
(value: MaybeValue<string
>
) => string