import { nullishAsync } from "https://deno.land/x/valibot@v0.30.0/src/schemas/index.ts";
Creates an async nullish schema.
Type Parameters
TWrapped extends BaseSchema | BaseSchemaAsync
Parameters
wrapped: TWrapped
The wrapped schema.
Returns
An async nullish schema.
Creates an async nullish schema.
Type Parameters
TWrapped extends BaseSchema | BaseSchemaAsync
TDefault extends DefaultAsync<TWrapped>
Returns
An async nullish schema.