@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
14 lines (12 loc) • 319 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = areEqualValues;
function areEqualValues(a, b) {
if (typeof b === 'object' && b !== null) {
return a === b;
}
// The value could be a number, the DOM will stringify it anyway.
return String(a) === String(b);
}