Files
docs/node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js

5 lines
154 B
JavaScript
Raw 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);
}