@kontur.candy/generator 4.253.0 → 4.253.1
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/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -112426,6 +112426,10 @@ class Map2 {
|
|
|
112426
112426
|
has(key) {
|
|
112427
112427
|
return this.getEntryOrUndefined(key) != undefined;
|
|
112428
112428
|
}
|
|
112429
|
+
|
|
112430
|
+
get isEmpty() {
|
|
112431
|
+
return this.hashMap.size === 0;
|
|
112432
|
+
}
|
|
112429
112433
|
/**
|
|
112430
112434
|
* Обновляет значение в словаре по ключю, если значения нет -- устнавит новое
|
|
112431
112435
|
* @param key ключ словаря для робновления
|