Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>minValue

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function minValue
import { minValue } from "https://deno.land/x/valibot@v0.11.1/mod.ts";

Creates a validation functions that validates the value of a string, number or date.

Type Parameters

TInput extends
| string
| number
| bigint
| Date
TRequirement extends TInput

Parameters

requirement: TRequirement

The minimum value.

optional
error: string

The error message.