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

x/valibot/src/index.ts>Mac48Action

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

48-bit MAC action type.

Type Parameters

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

Properties

readonly
type: "mac48"

The action type.

readonly
reference: mac48

The action reference.

readonly
expects: null

The expected property.

readonly
requirement: RegExp

The 48-bit MAC regex.

readonly
message: TMessage

The error message.