Returns a value of an object property by path defined as array of strings, parent element comes first. Example: getValueByPath({parent: {value: 1}}, ['parent', 'value']); // returns value 1
Object to get value from
An array of strings, parent element comes first
Returns a value of an object property by path defined as array of strings, parent element comes first. Example: getValueByPath({parent: {value: 1}}, ['parent', 'value']); // returns value 1