import { integer } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/integer/index.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.