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

x/valibot/mod.ts>Mac48Action

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