@newdash/newdash
Version:
javascript/typescript utility library
14 lines (13 loc) • 598 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.isMatch = void 0;
const baseIsMatch_1 = __importDefault(require("./.internal/baseIsMatch"));
const getMatchData_1 = __importDefault(require("./.internal/getMatchData"));
function isMatch(object, source) {
return object === source || (0, baseIsMatch_1.default)(object, source, (0, getMatchData_1.default)(source));
}
exports.isMatch = isMatch;
exports.default = isMatch;