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

x/valibot/src/schemas/object/index.ts>ObjectSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Latest
import { type ObjectSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/schemas/object/index.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<ObjectIssue> | undefined

Properties

readonly
type: "object"

The schema type.

readonly
reference: objectAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.