Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
function nan
import { nan } from "https://deno.land/x/valibot@1.0.0-beta.0-to-json-schema/src/schemas/index.ts";

Creates a NaN schema.

Returns

NanSchema<undefined>

A NaN schema.

Creates a NaN schema.

Type Parameters

TMessage extends ErrorMessage<NanIssue> | undefined

Parameters

message: TMessage

The error message.

Returns

A NaN schema.