Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/utils/getCurrentPath/getCurrentPath.ts>getCurrentPath

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

Returns the current path.

Parameters

info: ParseInfo | undefined

The parse info.

item: PathItem

The current key.