Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/validations/ipv6/ipv6.ts>ipv6

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function ipv6
import { ipv6 } from "https://deno.land/x/valibot@v0.22.0/src/validations/ipv6/ipv6.ts";

Creates a validation function that validates an IPv6 address.

Type Parameters

TInput extends string

Parameters

optional
message: ErrorMessage = [UNSUPPORTED]

The error message.

Returns

A validation function.