Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Next.js
getNestedKey(obj: Record<string, unknown>, path: string, fallback?: string): string | undefined
getNestedKey({ cart: { title: 'Cart' } }, 'cart.title') // => 'Cart' getNestedKey({}, 'cart.title', 'fallback') // => 'fallback'
string | undefined
Was this page helpful?