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