Files
simply_cpq/website/node_modules/@mui/material/Select/utils/areEqualValues.mjs
T
2026-08-07 21:39:30 +02:00

8 lines
220 B
JavaScript

export default 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);
}