in packages/attribute-slicer-powerbi/src/state/index.ts [467:480]
function gradientEquals(obj: any, obj2: any): boolean {
if (obj === obj2) {
return true;
} else if ((!obj && obj2) || (obj && !obj2)) {
return false;
} else {
return (
obj.startColor === obj2.startColor &&
obj.endColor === obj2.endColor &&
obj.startValue === obj2.startValue &&
obj.endValue === obj2.endValue
);
}
}