"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseIsMatch = require("./_baseIsMatch.cjs");
const _getMatchData = require("./_getMatchData.cjs");
const _matchesStrictComparable = require("./_matchesStrictComparable.cjs");
function baseMatches(source) {
  var matchData = _getMatchData.default(source);
  if (matchData.length == 1 && matchData[0][2]) {
    return _matchesStrictComparable.default(matchData[0][0], matchData[0][1]);
  }
  return function(object) {
    return object === source || _baseIsMatch.default(object, source, matchData);
  };
}
exports.default = baseMatches;
//# sourceMappingURL=_baseMatches.cjs.map
