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

x/valibot/mod.ts>EmailAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface EmailAction
import { type EmailAction } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/mod.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.