Skip to main content
Module

x/valibot/mod.ts>NumberSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface NumberSchemaAsync
implements BaseSchemaAsync<number, TOutput>
import { type NumberSchemaAsync } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Number schema async type.

Type Parameters

optional
TOutput = number

Properties

type: "number"

The schema type.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<number> | undefined

The validation and transformation pipeline.