You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parttimejob/node_modules/bonjour-service/dist/lib/utils/equal-txt.js

17 lines
468 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function equalTxt(a, b) {
if (a === undefined || b === undefined)
return false;
let aKeys = Object.keys(a);
let bKeys = Object.keys(b);
if (aKeys.length != bKeys.length)
return false;
for (let key of aKeys) {
if (a[key] != b[key])
return false;
}
return true;
}
exports.default = equalTxt;
//# sourceMappingURL=equal-txt.js.map