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

x/valibot/mod.ts>lazyAsync

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

Creates an async lazy schema.

Type Parameters

TGetter extends (input: unknown) => MaybePromise<BaseSchema | BaseSchemaAsync>

Parameters

getter: TGetter

The schema getter.

Returns

An async lazy schema.