import { setAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/set/index.ts";
Creates an async set schema.
Type Parameters
TSetValue extends BaseSchema | BaseSchemaAsync
Returns
An async set schema.
Creates an async set schema.
Type Parameters
TSetValue extends BaseSchema | BaseSchemaAsync
Parameters
value: TSetValue
The value schema.
optional
error: ErrorMessageThe error message.
Returns
An async set schema.