Skip to main content
Module

x/valibot/mod.ts>IntegerValidation

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

Integer validation type.

Type Parameters

TInput extends number

Properties

type: "integer"

The validation type.

requirement: (input: TInput) => boolean

The validation function.