Skip to main content
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.13.1/mod.ts";

Creates an async nullish schema.

Type Parameters

TWrappedSchema extends BaseSchema | BaseSchemaAsync

Parameters

The wrapped schema.

Returns

NullishSchemaAsync<TWrappedSchema>

An async nullish schema.