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

x/valibot/src/index.ts>Ipv4Issue

The modular and type safe schema library for validating structural data 🤖
Latest
interface Ipv4Issue
implements BaseIssue<TInput>
import { type Ipv4Issue } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/index.ts";

IPv4 issue type.

Type Parameters

TInput extends string

Properties

readonly
kind: "validation"

The issue kind.

readonly
type: "ipv4"

The issue type.

readonly
expected: null

The expected property.

readonly
received: `"${string}"`

The received property.

readonly
requirement: RegExp

The IPv4 regex.