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