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

x/valibot/src/index.ts>mac64

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
function mac64
import { mac64 } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";

Creates a 64-bit MAC address validation action.

Type Parameters

TInput extends string

Returns

Mac64Action<TInput, undefined>

A 64-bit MAC action.

Creates a 64-bit MAC address validation action.

Type Parameters

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

Parameters

message: TMessage

The error message.

Returns

A 64-bit MAC action.