Access property in an object using a string path. Similar to lodash.get
path to access
target object
throw error if invalid access or property is undefined. Default is false
const obj = {a: {b: {c: 1}}}const c = deepAccessObject(['a', 'b', 'c'], obj)console.log(c) // 1 Copy
const obj = {a: {b: {c: 1}}}const c = deepAccessObject(['a', 'b', 'c'], obj)console.log(c) // 1
Access property in an object using a string path. Similar to lodash.get