Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/mod.ts>ObjectSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias ObjectSchema
Re-export
import { type ObjectSchema } from "https://deno.land/x/valibot@v0.28.1/mod.ts";

Object schema type.

Type Parameters

TEntries extends ObjectEntries
optional
TRest extends BaseSchema | undefined = undefined
optional
TOutput = ObjectOutput<TEntries, TRest>
definition: BaseSchema<ObjectInput<TEntries, TRest>, TOutput> & { type: "object"; entries: TEntries; rest: TRest; message: ErrorMessage | undefined; pipe: Pipe<ObjectOutput<TEntries, TRest>> | undefined; }