import { digits } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/digits/digits.ts";
Creates a digits validation action.
Returns
DigitsAction<TInput, undefined>
An digits action.
Creates a digits validation action.
Type Parameters
TMessage extends ErrorMessage<DigitsIssue<TInput>> | undefined
Parameters
message: TMessage
The error message.
Returns
An digits action.