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

x/valibot/src/index.ts>EndsWithValidation

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

Ends with validation type.

Type Parameters

TInput extends string
TRequirement extends string

Properties

type: "ends_with"

The validation type.

requirement: TRequirement

The end string.