"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function shallowCompare(next, prev) {
  if (!Array.isArray(prev))
    return false;
  const prevLength = prev.length;
  if (prevLength !== next.length)
    return false;
  for (let i = 0; i < prevLength; i++) {
    if (prev[i] !== next[i])
      return false;
  }
  return true;
}
exports.shallowCompare = shallowCompare;
//# sourceMappingURL=dist-es-utils-shallow-compare.cjs.map
