Skip to main content
Module

x/valibot/mod.ts>IpValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias IpValidation
import { type IpValidation } from "https://deno.land/x/valibot@v0.25.0/mod.ts";

IP validation type.

Type Parameters

TInput extends string
definition: BaseValidation<TInput> & { type: "ip"; requirement: [RegExp, RegExp]; }