import { multipleOf } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";
Creates a multiple of validation action.
Parameters
requirement: TRequirement
The divisor.
Returns
MultipleOfAction<TInput, TRequirement, undefined>
A multiple of action.
Creates a multiple of validation action.
Type Parameters
TMessage extends ErrorMessage<MultipleOfIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The divisor.
message: TMessage
The error message.
Returns
A multiple of action.