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

x/valibot/src/schemas/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.30.0/src/schemas/index.ts";

Creates a NaN schema.

Parameters

optional
message: ErrorMessage

The error message.

Returns

A NaN schema.