// @ts-check
/**
* Extract a value from an object using a path
*
* @template T
*
* @param {object} object the input object
* @param {string} path the path to the value in the object
*
* @returns {T}
*/exportfunctionextract(object,path){returnpath.split('.').reduce((acc,elem)=>typeofacc[elem]==='undefined'?null:acc[elem],object);}