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

x/valibot/mod.ts>nullishAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function nullishAsync
import { nullishAsync } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Creates an async nullish schema.

Parameters

wrapped: TWrapped

The wrapped schema.

Returns

An async nullish schema.

Creates an async nullish schema.

Parameters

wrapped: TWrapped

The wrapped schema.

default_: TDefault

The default value.

Returns

An async nullish schema.