@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1177 → 0.9.0-SNAPSHOT.1181

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.
@@ -681,35 +681,6 @@ if (typeof Math.imul === 'undefined') {
681
681
  }
682
682
  return max;
683
683
  }
684
- function toSet_0(_this__u8e3s4) {
685
- if (isInterface(_this__u8e3s4, Collection)) {
686
- var tmp0_subject = _this__u8e3s4.i();
687
- var tmp;
688
- switch (tmp0_subject) {
689
- case 0:
690
- tmp = emptySet();
691
- break;
692
- case 1:
693
- var tmp_0;
694
- if (isInterface(_this__u8e3s4, List)) {
695
- tmp_0 = _this__u8e3s4.j(0);
696
- } else {
697
- tmp_0 = _this__u8e3s4.f().h();
698
- }
699
-
700
- tmp = setOf(tmp_0);
701
- break;
702
- default:
703
- tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.i())));
704
- break;
705
- }
706
- return tmp;
707
- }
708
- return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
709
- }
710
- function lastOrNull(_this__u8e3s4) {
711
- return _this__u8e3s4.m() ? null : _this__u8e3s4.j(_this__u8e3s4.i() - 1 | 0);
712
- }
713
684
  function firstOrNull(_this__u8e3s4) {
714
685
  return _this__u8e3s4.m() ? null : _this__u8e3s4.j(0);
715
686
  }
@@ -744,6 +715,35 @@ if (typeof Math.imul === 'undefined') {
744
715
  }
745
716
  return optimizeReadOnlyList(list);
746
717
  }
718
+ function toSet_0(_this__u8e3s4) {
719
+ if (isInterface(_this__u8e3s4, Collection)) {
720
+ var tmp0_subject = _this__u8e3s4.i();
721
+ var tmp;
722
+ switch (tmp0_subject) {
723
+ case 0:
724
+ tmp = emptySet();
725
+ break;
726
+ case 1:
727
+ var tmp_0;
728
+ if (isInterface(_this__u8e3s4, List)) {
729
+ tmp_0 = _this__u8e3s4.j(0);
730
+ } else {
731
+ tmp_0 = _this__u8e3s4.f().h();
732
+ }
733
+
734
+ tmp = setOf(tmp_0);
735
+ break;
736
+ default:
737
+ tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.i())));
738
+ break;
739
+ }
740
+ return tmp;
741
+ }
742
+ return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
743
+ }
744
+ function lastOrNull(_this__u8e3s4) {
745
+ return _this__u8e3s4.m() ? null : _this__u8e3s4.j(_this__u8e3s4.i() - 1 | 0);
746
+ }
747
747
  function first_0(_this__u8e3s4) {
748
748
  if (_this__u8e3s4.m())
749
749
  throw NoSuchElementException_init_$Create$_0('List is empty.');
@@ -5259,10 +5259,10 @@ if (typeof Math.imul === 'undefined') {
5259
5259
  protoOf(SimpleKClassImpl).z9 = function () {
5260
5260
  return this.ia_1;
5261
5261
  };
5262
- function KMutableProperty1() {
5263
- }
5264
5262
  function KProperty1() {
5265
5263
  }
5264
+ function KMutableProperty1() {
5265
+ }
5266
5266
  function get_functionClasses() {
5267
5267
  _init_properties_primitives_kt__3fums4();
5268
5268
  return functionClasses;
@@ -5930,6 +5930,21 @@ if (typeof Math.imul === 'undefined') {
5930
5930
  }
5931
5931
  return tmp;
5932
5932
  }
5933
+ function toBoolean(_this__u8e3s4) {
5934
+ var tmp;
5935
+ if (!(_this__u8e3s4 == null)) {
5936
+ var tmp$ret$1;
5937
+ // Inline function 'kotlin.text.lowercase' call
5938
+ var tmp$ret$0;
5939
+ // Inline function 'kotlin.js.asDynamic' call
5940
+ tmp$ret$0 = _this__u8e3s4;
5941
+ tmp$ret$1 = tmp$ret$0.toLowerCase();
5942
+ tmp = tmp$ret$1 === 'true';
5943
+ } else {
5944
+ tmp = false;
5945
+ }
5946
+ return tmp;
5947
+ }
5933
5948
  function toDoubleOrNull(_this__u8e3s4) {
5934
5949
  var tmp$ret$3;
5935
5950
  // Inline function 'kotlin.takeIf' call
@@ -5983,21 +5998,6 @@ if (typeof Math.imul === 'undefined') {
5983
5998
  tmp$ret$2 = tmp1_also;
5984
5999
  return tmp$ret$2;
5985
6000
  }
5986
- function toBoolean(_this__u8e3s4) {
5987
- var tmp;
5988
- if (!(_this__u8e3s4 == null)) {
5989
- var tmp$ret$1;
5990
- // Inline function 'kotlin.text.lowercase' call
5991
- var tmp$ret$0;
5992
- // Inline function 'kotlin.js.asDynamic' call
5993
- tmp$ret$0 = _this__u8e3s4;
5994
- tmp$ret$1 = tmp$ret$0.toLowerCase();
5995
- tmp = tmp$ret$1 === 'true';
5996
- } else {
5997
- tmp = false;
5998
- }
5999
- return tmp;
6000
- }
6001
6001
  function digitOf(char, radix) {
6002
6002
  var tmp$ret$1;
6003
6003
  // Inline function 'kotlin.let' call