Skip to main content
Module

x/valibot/mod.ts>MapSchema

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

Map schema type.

Type Parameters

TKey extends BaseSchema
TValue extends BaseSchema
optional
TOutput = MapOutput<TKey, TValue>
definition: BaseSchema<MapInput<TKey, TValue>, TOutput> & { type: "map"; key: TKey; value: TValue; message: ErrorMessage; pipe: Pipe<MapOutput<TKey, TValue>> | undefined; }