Files

5 lines
154 B
JavaScript
Raw Permalink Normal View History

2025-08-27 14:05:33 +08:00
export function getAttributeValueByPath(record, path) {
return path.reduce(function (current, key) {
return current && current[key];
}, record);
}