Skip to main content
Module

x/valibot/mod.ts>objectAsync

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

Creates an async object schema.

Parameters

object: TObjectShape

The object schema.

A validation and transformation pipe.

Returns

An async object schema.

Creates an async object schema.

Parameters

object: TObjectShape

The object schema.

optional
error: string

The error message.

A validation and transformation pipe.

Returns

An async object schema.