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

x/valibot/src/index.ts>MapPathItem

The modular and type safe schema library for validating structural data 🤖
Latest
interface MapPathItem
Re-export
import { type MapPathItem } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.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.