the-forest/client/node_modules/bonjour-service/dist/lib/utils/equal-txt.js
2024-09-17 20:35:18 -04:00

17 lines
468 B
JavaScript

"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