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