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

x/valibot/src/validations/mac48/mac48.ts>Mac48Validation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface Mac48Validation
implements BaseValidation<TInput>
import { type Mac48Validation } from "https://deno.land/x/valibot@v0.30.0/src/validations/mac48/mac48.ts";

48-bit MAC validation type.

Type Parameters

TInput extends string

Properties

type: "mac48"

The validation type.

requirement: RegExp

The 48-bit MAC regex.