import { objectAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/object/objectAsync.ts";
Creates an async object schema.
Type Parameters
TObjectShape extends ObjectShapeAsync
Parameters
object: TObjectShape
The object schema.
optional
pipe: PipeAsync<ObjectOutput<TObjectShape>>A validation and transformation pipe.
Returns
An async object schema.
Creates an async object schema.
Type Parameters
TObjectShape extends ObjectShapeAsync
Parameters
object: TObjectShape
The object schema.
optional
error: ErrorMessageThe error message.
optional
pipe: PipeAsync<ObjectOutput<TObjectShape>>A validation and transformation pipe.
Returns
An async object schema.