Write a function named pickNested that receives 2 parameters:
datadata object - pathThe function should return the value of the property at the given path. If there is no property at the given path, the function should return undefined.
NOTE: this is similar with the pickFields function but a little bit more complex as it is dealing with nested objects.
data
=path
=data
=path
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro