import { getDotPath } from "https://deno.land/x/valibot@v0.41.0/src/utils/getDotPath/index.ts";
Creates and returns the dot path of an issue if possible.
Parameters
issue: BaseIssue<unknown>
The issue to get the dot path from.
Creates and returns the dot path of an issue if possible.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
Parameters
issue: InferIssue<TSchema>
The issue to get the dot path from.
Returns
IssueDotPath<TSchema> | null
The dot path or null.