import { getDotPath } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/utils/getDotPath/getDotPath.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.