Skip to content

resolvePath

resolvePath(obj, path): unknown

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/utils/resolve-path.d.ts:6

Resolve a dot-path (e.g. “priceRange.minVariantPrice”) against an object. Returns null on any missing or non-object hop. Shared by the client displayers and the server transform - both must agree on resolution.

Record<string, unknown>

string

unknown