@ng-doc/core
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
17 lines • 451 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSameObject = isSameObject;
/**
*
* @param a
* @param b
*/
function isSameObject(a, b) {
return Object.keys(a).every((key) => {
if (typeof a[key] === 'object' && typeof b[key] === 'object') {
return isSameObject(a[key] ?? {}, b[key] ?? {});
}
return a[key] === b[key];
});
}
//# sourceMappingURL=is-same-object.js.map
;