Skip to main content
Module

x/valibot/mod.ts>object

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

Creates an object schema.

Type Parameters

TObjectShape extends ObjectShape

Parameters

object: TObjectShape

The object schema.

A validation and transformation pipe.

Creates an object schema.

Type Parameters

TObjectShape extends ObjectShape

Parameters

object: TObjectShape

The object schema.

optional
error: string

The error message.

A validation and transformation pipe.