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

x/valibot/mod.ts>MultipleOfValidation

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

Multiple of validation type.

Type Parameters

TInput extends number
TRequirement extends number

Properties

type: "multiple_of"

The validation type.

requirement: TRequirement

The divisor.