The object from which the nested value will be retrieved.
The dot-separated key to access the nested value.
const data = {
pid: 'some-id',
portions: {
name: 'section'
}
};
console.log(getNestedValue(data, "portions.name")); // 'section'
Generated using TypeDoc
Get nested value from the given object.