import baseIsEqual from "./_baseIsEqual3.js";
import get from "./get3.js";
import hasIn from "./hasIn3.js";
import isKey from "./_isKey3.js";
import isStrictComparable from "./_isStrictComparable3.js";
import matchesStrictComparable from "./_matchesStrictComparable3.js";
import toKey from "./_toKey3.js";
var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
function baseMatchesProperty(path, srcValue) {
  if (isKey(path) && isStrictComparable(srcValue)) {
    return matchesStrictComparable(toKey(path), srcValue);
  }
  return function(object) {
    var objValue = get(object, path);
    return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
  };
}
export {
  baseMatchesProperty as default
};
//# sourceMappingURL=_baseMatchesProperty3.js.map
