Skip to main content
Module

x/typebox/example/formats/ipv4.ts>IsIPv4

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function IsIPv4
import { IsIPv4 } from "https://deno.land/x/typebox@0.32.20/example/formats/ipv4.ts";

[ajv-formats] IPv4 address according to dotted-quad ABNF syntax as defined in RFC 2673, section 3.2

Examples

192.168.0.1

Parameters

value: string

Returns

boolean