Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/email/index.ts>EmailAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface EmailAction
import { type EmailAction } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/email/index.ts";

Email action type.

Type Parameters

TInput extends string
TMessage extends ErrorMessage<EmailIssue<TInput>> | undefined

Properties

readonly
type: "email"

The action type.

readonly
reference: email

The action reference.

readonly
expects: null

The expected property.

readonly
requirement: RegExp

The email regex.

readonly
message: TMessage

The error message.