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.13.1/mod.ts";

Map schema type.

Type Parameters

TMapKey extends BaseSchema
TMapValue extends BaseSchema
optional
TOutput = MapOutput<TMapKey, TMapValue>
definition: BaseSchema<MapInput<TMapKey, TMapValue>, TOutput> & { schema: "map"; map: { key: TMapKey; value: TMapValue; }; }