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

x/valibot/src/index.ts>DecimalValidation

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

Decimal validation type.

Type Parameters

TInput extends string

Properties

type: "decimal"

The validation type.

requirement: RegExp

The decimal regex.