Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
res
lodash.get()
res('order.total')
const data = { customer: { address: { city: "bangalore" }, orders: [ { id: "order-1", items: [ { id: 1, amount: 10 }, { id: 2, amount: 20 } ] }, { id: "order-2", items: [ { id: 3, amount: 30 }, { id: 4, amount: 40 } ] } ] }, };
res('customer.orders.items.amount')
res('..items.amount')
res('..items[0].amount')
res('..items[?].amount', i => i.amount > 20)
res('..items..amount[?]', amt => amt + 10)
Was this page helpful?