raspberry_games_engine_helpers 1.8.356 → 1.8.357
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/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -881,6 +881,18 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
881
881
|
}
|
|
882
882
|
return tmp;
|
|
883
883
|
}
|
|
884
|
+
function minOrNull(_this__u8e3s4) {
|
|
885
|
+
var iterator = _this__u8e3s4.j();
|
|
886
|
+
if (!iterator.k())
|
|
887
|
+
return null;
|
|
888
|
+
var min = iterator.l();
|
|
889
|
+
while (iterator.k()) {
|
|
890
|
+
var e = iterator.l();
|
|
891
|
+
if (compareTo(min, e) > 0)
|
|
892
|
+
min = e;
|
|
893
|
+
}
|
|
894
|
+
return min;
|
|
895
|
+
}
|
|
884
896
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
885
897
|
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
886
898
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -907,18 +919,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
907
919
|
return last;
|
|
908
920
|
}
|
|
909
921
|
}
|
|
910
|
-
function minOrNull(_this__u8e3s4) {
|
|
911
|
-
var iterator = _this__u8e3s4.j();
|
|
912
|
-
if (!iterator.k())
|
|
913
|
-
return null;
|
|
914
|
-
var min = iterator.l();
|
|
915
|
-
while (iterator.k()) {
|
|
916
|
-
var e = iterator.l();
|
|
917
|
-
if (compareTo(min, e) > 0)
|
|
918
|
-
min = e;
|
|
919
|
-
}
|
|
920
|
-
return min;
|
|
921
|
-
}
|
|
922
922
|
function filterNotNull_0(_this__u8e3s4) {
|
|
923
923
|
return filterNotNullTo_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
924
924
|
}
|