import { integer } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/mod.ts";
Creates an integer validation action.
Returns
IntegerAction<TInput, undefined>
An integer action.
Creates an integer validation action.
Type Parameters
TMessage extends ErrorMessage<IntegerIssue<TInput>> | undefined
Parameters
message: TMessage
The error message.
Returns
An integer action.