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.
17 lines
468 B
17 lines
468 B
1 month ago
|
"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
|