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