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

x/valibot/mod.ts>MapPathItem

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface MapPathItem
Re-export
import { type MapPathItem } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/mod.ts";

Map path item type.

Properties

readonly
type: "map"

The path item type.

readonly
origin: "key" | "value"

The path item origin.

readonly
input: Map<unknown, unknown>

The path item input.

readonly
key: unknown

The path item key.

readonly
value: unknown

The path item value.