Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/index.ts>NanSchema

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

NaN schema type.

Type Parameters

optional
TOutput = number

Properties

type: "nan"

The schema type.

message: ErrorMessage | undefined

The error message.