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

x/valibot/mod.ts>StartsWithValidation

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

Starts with validation type.

Type Parameters

TInput extends string
TRequirement extends string

Properties

type: "starts_with"

The validation type.

requirement: TRequirement

The start string.