Skip to main content
Module

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function nan
import { nan } from "https://deno.land/x/valibot@v0.39.0/src/schemas/nan/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.