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

x/valibot/src/actions/mac48/mac48.ts>Mac48Action

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface Mac48Action
import { type Mac48Action } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/mac48/mac48.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.