@player-ui/metrics-plugin 0.8.0-next.2 → 0.8.0-next.4
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.
|
@@ -2654,6 +2654,12 @@ var MetricsPlugin = function() {
|
|
|
2654
2654
|
value: function clear() {
|
|
2655
2655
|
this.store = createSortedArray();
|
|
2656
2656
|
}
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
/** Check if the registry is empty*/ key: "isRegistryEmpty",
|
|
2660
|
+
value: function isRegistryEmpty() {
|
|
2661
|
+
return this.store.array.length === 0;
|
|
2662
|
+
}
|
|
2657
2663
|
}
|
|
2658
2664
|
]);
|
|
2659
2665
|
return Registry;
|