/* * This file belongs to Hoist, an application development toolkit * developed by Extremely Heavy Industries (www.xh.io | info@xh.io) * * Copyright © 2026 Extremely Heavy Industries Inc. */ /** * @internal */ export function shallowEqualArrays(a: T[], b: T[]): boolean { if (a === b) return true; if (!a || !b) return false; const len = a.length; if (b.length !== len) return false; for (let i = 0; i < len; i++) { if (a[i] !== b[i]) return false; } return true; }