@itwin/core-i18n 4.10.0-dev.2 → 4.10.0-dev.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +162 -141
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +21 -0
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/package.json +6 -6
|
@@ -18105,6 +18105,27 @@ var Id64;
|
|
|
18105
18105
|
if (undefined !== ids)
|
|
18106
18106
|
this.addIds(ids);
|
|
18107
18107
|
}
|
|
18108
|
+
/** Return true if `this` and `other` contain the same set of Ids. */
|
|
18109
|
+
equals(other) {
|
|
18110
|
+
if (this === other) {
|
|
18111
|
+
return true;
|
|
18112
|
+
}
|
|
18113
|
+
if (this.size !== other.size) {
|
|
18114
|
+
return false;
|
|
18115
|
+
}
|
|
18116
|
+
for (const [key, thisValue] of this._map) {
|
|
18117
|
+
const otherValue = other._map.get(key);
|
|
18118
|
+
if (!otherValue || thisValue.size !== otherValue.size) {
|
|
18119
|
+
return false;
|
|
18120
|
+
}
|
|
18121
|
+
for (const value of thisValue) {
|
|
18122
|
+
if (!otherValue.has(value)) {
|
|
18123
|
+
return false;
|
|
18124
|
+
}
|
|
18125
|
+
}
|
|
18126
|
+
}
|
|
18127
|
+
return true;
|
|
18128
|
+
}
|
|
18108
18129
|
/** Remove all contents of this set. */
|
|
18109
18130
|
clear() {
|
|
18110
18131
|
this._map.clear();
|