12345678910111213141516171819202122232425262728 |
- import baseIsEqualDeep from './_baseIsEqualDeep.js';
- import isObjectLike from './isObjectLike.js';
- 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 default baseIsEqual;
|