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

x/valibot/mod.ts>UrlValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface UrlValidation
implements BaseValidation<TInput>
import { type UrlValidation } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

URL validation type.

Type Parameters

TInput extends string

Properties

type: "url"

The validation type.

requirement: (input: TInput) => boolean

The validation function.