import { email } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/mod.ts";
Creates an email validation action.
Hint: This validation action intentionally only validates common email addresses. If you are interested in an action that covers the entire specification, please see issue #204.
Returns
EmailAction<TInput, undefined>
An email action.
Creates an email validation action.
Hint: This validation action intentionally only validates common email addresses. If you are interested in an action that covers the entire specification, please see issue #204.
Type Parameters
TMessage extends ErrorMessage<EmailIssue<TInput>> | undefined
Parameters
message: TMessage
The error message.
Returns
An email action.