import baseIsEqualDeep from "./_baseIsEqualDeep.mjs";
import isObjectLike from "./isObjectLike.mjs";
function baseIsEqual(value, other, bitmask, customizer, stack) {
  if (value === other) {
    return true;
  }
  if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
    return value !== value && other !== other;
  }
  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
}
export {
  baseIsEqual as default
};
