28 lines
568 B
JavaScript
28 lines
568 B
JavaScript
// Metro module 6238 (f6239).
|
|
export default function areHookInputsEqual(a0, a1) {
|
|
let length;
|
|
if (a0.length !== a1.length) {
|
|
return false;
|
|
}
|
|
if (0 < a1.length) {
|
|
const r3 = 0 < a0.length;
|
|
let r14 = 0;
|
|
if (r3) {
|
|
do {
|
|
const r16 = Object.is(a0[r14], a1[r14]);
|
|
const r1 = r14;
|
|
if (!r16) {
|
|
return false;
|
|
}
|
|
const r18 = r1 + 1;
|
|
if (!(r18 < a1.length)) {
|
|
break;
|
|
}
|
|
length = a0.length;
|
|
r14 = r18;
|
|
} while (r14 < length);
|
|
}
|
|
}
|
|
return true;
|
|
};
|