capacitor-plugin-playlist 0.4.0 → 0.4.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.
Files changed (106) hide show
  1. package/android/.gradle/8.0.2/checksums/checksums.lock +0 -0
  2. package/android/.gradle/8.0.2/checksums/md5-checksums.bin +0 -0
  3. package/android/.gradle/8.0.2/checksums/sha1-checksums.bin +0 -0
  4. package/android/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/android/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
  6. package/android/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
  7. package/android/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
  8. package/android/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
  9. package/android/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
  10. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  12. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/android/.gradle/config.properties +2 -0
  14. package/android/.gradle/file-system.probe +0 -0
  15. package/android/.idea/compiler.xml +6 -0
  16. package/android/.idea/gradle.xml +8 -3
  17. package/android/.idea/kotlinc.xml +6 -0
  18. package/android/.idea/migrations.xml +10 -0
  19. package/android/.idea/misc.xml +2 -2
  20. package/android/.project +34 -0
  21. package/android/bin/.gradle/8.0.2/checksums/checksums.lock +0 -0
  22. package/android/bin/.gradle/8.0.2/checksums/md5-checksums.bin +0 -0
  23. package/android/bin/.gradle/8.0.2/checksums/sha1-checksums.bin +0 -0
  24. package/android/bin/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  25. package/android/bin/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
  26. package/android/bin/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
  27. package/android/bin/.gradle/8.0.2/fileChanges/last-build.bin +0 -0
  28. package/android/bin/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
  29. package/android/bin/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
  30. package/android/bin/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
  31. package/android/bin/.gradle/8.0.2/gc.properties +0 -0
  32. package/android/bin/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  33. package/android/bin/.gradle/buildOutputCleanup/cache.properties +2 -0
  34. package/android/bin/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  35. package/android/bin/.gradle/config.properties +2 -0
  36. package/android/bin/.gradle/file-system.probe +0 -0
  37. package/android/bin/.gradle/vcs-1/gc.properties +0 -0
  38. package/android/bin/.idea/compiler.xml +6 -0
  39. package/android/bin/.idea/gradle.xml +19 -0
  40. package/android/bin/.idea/kotlinc.xml +6 -0
  41. package/android/bin/.idea/migrations.xml +10 -0
  42. package/android/bin/.idea/misc.xml +9 -0
  43. package/android/bin/.idea/vcs.xml +6 -0
  44. package/android/bin/.project +34 -0
  45. package/android/bin/.settings/org.eclipse.buildship.core.prefs +13 -0
  46. package/android/bin/build.gradle +79 -0
  47. package/android/bin/gradle/wrapper/gradle-wrapper.jar +0 -0
  48. package/android/bin/gradle/wrapper/gradle-wrapper.properties +6 -0
  49. package/android/bin/gradle.properties +22 -0
  50. package/android/bin/gradlew +244 -0
  51. package/android/bin/gradlew.bat +92 -0
  52. package/android/bin/local.properties +8 -0
  53. package/android/bin/proguard-rules.pro +21 -0
  54. package/android/bin/settings.gradle +2 -0
  55. package/android/bin/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.class +0 -0
  56. package/android/bin/src/main/AndroidManifest.xml +4 -0
  57. package/android/bin/src/main/java/org/dwbn/plugins/playlist/App.kt +62 -0
  58. package/android/bin/src/main/java/org/dwbn/plugins/playlist/FakeR.kt +39 -0
  59. package/android/bin/src/main/java/org/dwbn/plugins/playlist/OnStatusCallback.kt +34 -0
  60. package/android/bin/src/main/java/org/dwbn/plugins/playlist/OnStatusReportListener.class +0 -0
  61. package/android/bin/src/main/java/org/dwbn/plugins/playlist/PlaylistItemOptions.class +0 -0
  62. package/android/bin/src/main/java/org/dwbn/plugins/playlist/PlaylistPlugin.kt +356 -0
  63. package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioErrorType.class +0 -0
  64. package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioPlayer.class +0 -0
  65. package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioStatusMessage.class +0 -0
  66. package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxConstants.class +0 -0
  67. package/android/bin/src/main/java/org/dwbn/plugins/playlist/TrackRemovalItem.class +0 -0
  68. package/android/bin/src/main/java/org/dwbn/plugins/playlist/data/AudioTrack.kt +94 -0
  69. package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/MediaControlsListener.kt +13 -0
  70. package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/Options.kt +77 -0
  71. package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +286 -0
  72. package/android/bin/src/main/java/org/dwbn/plugins/playlist/notification/PlaylistNotificationProvider.kt +26 -0
  73. package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioApi.kt +101 -0
  74. package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioPlaylistHandler$Builder.class +0 -0
  75. package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioPlaylistHandler.class +0 -0
  76. package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/BaseMediaApi.kt +40 -0
  77. package/android/bin/src/main/java/org/dwbn/plugins/playlist/service/MediaImageProvider.kt +79 -0
  78. package/android/bin/src/main/java/org/dwbn/plugins/playlist/service/MediaService.kt +53 -0
  79. package/android/bin/src/main/res/.gitkeep +0 -0
  80. package/android/bin/src/main/res/drawable/ic_closed_caption_white_24dp.xml +9 -0
  81. package/android/bin/src/main/res/drawable/ic_demo_icon_adaptive.xml +15 -0
  82. package/android/bin/src/main/res/drawable/ic_launcher_background.xml +48 -0
  83. package/android/bin/src/main/res/drawable/ic_launcher_foreground.xml +22 -0
  84. package/android/bin/src/main/res/drawable/ic_notification_icon.png +0 -0
  85. package/android/bin/src/main/res/layout/bridge_layout_main.xml +15 -0
  86. package/android/bin/src/main/res/values/colors.xml +3 -0
  87. package/android/bin/src/main/res/values/strings.xml +3 -0
  88. package/android/bin/src/main/res/values/styles.xml +3 -0
  89. package/android/bin/src/test/java/com/getcapacitor/ExampleUnitTest.class +0 -0
  90. package/android/build.gradle +0 -4
  91. package/android/local.properties +1 -1
  92. package/android/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +2 -1
  93. package/dist/docs.json +1357 -3
  94. package/dist/esm/web.js +1 -6
  95. package/dist/esm/web.js.map +1 -1
  96. package/dist/plugin.cjs.js +1 -6
  97. package/dist/plugin.cjs.js.map +1 -1
  98. package/dist/plugin.js +1 -6
  99. package/dist/plugin.js.map +1 -1
  100. package/package.json +1 -1
  101. package/android/.gradle/checksums/checksums.lock +0 -0
  102. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  103. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  104. package/android/.idea/modules/android.iml +0 -18
  105. package/android/.idea/modules.xml +0 -8
  106. /package/android/{.gradle/configuration-cache → bin/.gradle/8.0.2/dependencies-accessors}/gc.properties +0 -0
package/dist/docs.json CHANGED
@@ -434,7 +434,7 @@
434
434
  "Array",
435
435
  "AudioTrack"
436
436
  ],
437
- "type": "Array<AudioTrack>"
437
+ "type": "AudioTrack[]"
438
438
  },
439
439
  {
440
440
  "name": "options",
@@ -447,6 +447,1360 @@
447
447
  }
448
448
  ]
449
449
  },
450
+ {
451
+ "name": "Array",
452
+ "slug": "array",
453
+ "docs": "",
454
+ "tags": [],
455
+ "methods": [
456
+ {
457
+ "name": "toString",
458
+ "signature": "() => string",
459
+ "parameters": [],
460
+ "returns": "string",
461
+ "tags": [],
462
+ "docs": "Returns a string representation of an array.",
463
+ "complexTypes": [],
464
+ "slug": "tostring"
465
+ },
466
+ {
467
+ "name": "toLocaleString",
468
+ "signature": "() => string",
469
+ "parameters": [],
470
+ "returns": "string",
471
+ "tags": [],
472
+ "docs": "Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",
473
+ "complexTypes": [],
474
+ "slug": "tolocalestring"
475
+ },
476
+ {
477
+ "name": "pop",
478
+ "signature": "() => T | undefined",
479
+ "parameters": [],
480
+ "returns": "T | undefined",
481
+ "tags": [],
482
+ "docs": "Removes the last element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
483
+ "complexTypes": [
484
+ "T"
485
+ ],
486
+ "slug": "pop"
487
+ },
488
+ {
489
+ "name": "push",
490
+ "signature": "(...items: T[]) => number",
491
+ "parameters": [
492
+ {
493
+ "name": "items",
494
+ "docs": "New elements to add to the array.",
495
+ "type": "T[]"
496
+ }
497
+ ],
498
+ "returns": "number",
499
+ "tags": [
500
+ {
501
+ "name": "param",
502
+ "text": [
503
+ {
504
+ "text": "items",
505
+ "kind": "parameterName"
506
+ },
507
+ {
508
+ "text": " ",
509
+ "kind": "space"
510
+ },
511
+ {
512
+ "text": "New elements to add to the array.",
513
+ "kind": "text"
514
+ }
515
+ ]
516
+ }
517
+ ],
518
+ "docs": "Appends new elements to the end of an array, and returns the new length of the array.",
519
+ "complexTypes": [
520
+ "T"
521
+ ],
522
+ "slug": "push"
523
+ },
524
+ {
525
+ "name": "concat",
526
+ "signature": "(...items: ConcatArray<T>[]) => T[]",
527
+ "parameters": [
528
+ {
529
+ "name": "items",
530
+ "docs": "Additional arrays and/or items to add to the end of the array.",
531
+ "type": "ConcatArray<T>[]"
532
+ }
533
+ ],
534
+ "returns": "T[]",
535
+ "tags": [
536
+ {
537
+ "name": "param",
538
+ "text": [
539
+ {
540
+ "text": "items",
541
+ "kind": "parameterName"
542
+ },
543
+ {
544
+ "text": " ",
545
+ "kind": "space"
546
+ },
547
+ {
548
+ "text": "Additional arrays and/or items to add to the end of the array.",
549
+ "kind": "text"
550
+ }
551
+ ]
552
+ }
553
+ ],
554
+ "docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
555
+ "complexTypes": [
556
+ "T",
557
+ "ConcatArray"
558
+ ],
559
+ "slug": "concat"
560
+ },
561
+ {
562
+ "name": "concat",
563
+ "signature": "(...items: (T | ConcatArray<T>)[]) => T[]",
564
+ "parameters": [
565
+ {
566
+ "name": "items",
567
+ "docs": "Additional arrays and/or items to add to the end of the array.",
568
+ "type": "(T | ConcatArray<T>)[]"
569
+ }
570
+ ],
571
+ "returns": "T[]",
572
+ "tags": [
573
+ {
574
+ "name": "param",
575
+ "text": [
576
+ {
577
+ "text": "items",
578
+ "kind": "parameterName"
579
+ },
580
+ {
581
+ "text": " ",
582
+ "kind": "space"
583
+ },
584
+ {
585
+ "text": "Additional arrays and/or items to add to the end of the array.",
586
+ "kind": "text"
587
+ }
588
+ ]
589
+ }
590
+ ],
591
+ "docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
592
+ "complexTypes": [
593
+ "T",
594
+ "ConcatArray"
595
+ ],
596
+ "slug": "concat"
597
+ },
598
+ {
599
+ "name": "join",
600
+ "signature": "(separator?: string) => string",
601
+ "parameters": [
602
+ {
603
+ "name": "separator",
604
+ "docs": "A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.",
605
+ "type": "string | undefined"
606
+ }
607
+ ],
608
+ "returns": "string",
609
+ "tags": [
610
+ {
611
+ "name": "param",
612
+ "text": [
613
+ {
614
+ "text": "separator",
615
+ "kind": "parameterName"
616
+ },
617
+ {
618
+ "text": " ",
619
+ "kind": "space"
620
+ },
621
+ {
622
+ "text": "A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.",
623
+ "kind": "text"
624
+ }
625
+ ]
626
+ }
627
+ ],
628
+ "docs": "Adds all the elements of an array into a string, separated by the specified separator string.",
629
+ "complexTypes": [],
630
+ "slug": "join"
631
+ },
632
+ {
633
+ "name": "reverse",
634
+ "signature": "() => T[]",
635
+ "parameters": [],
636
+ "returns": "T[]",
637
+ "tags": [],
638
+ "docs": "Reverses the elements in an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
639
+ "complexTypes": [
640
+ "T"
641
+ ],
642
+ "slug": "reverse"
643
+ },
644
+ {
645
+ "name": "shift",
646
+ "signature": "() => T | undefined",
647
+ "parameters": [],
648
+ "returns": "T | undefined",
649
+ "tags": [],
650
+ "docs": "Removes the first element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
651
+ "complexTypes": [
652
+ "T"
653
+ ],
654
+ "slug": "shift"
655
+ },
656
+ {
657
+ "name": "slice",
658
+ "signature": "(start?: number, end?: number) => T[]",
659
+ "parameters": [
660
+ {
661
+ "name": "start",
662
+ "docs": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
663
+ "type": "number | undefined"
664
+ },
665
+ {
666
+ "name": "end",
667
+ "docs": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
668
+ "type": "number | undefined"
669
+ }
670
+ ],
671
+ "returns": "T[]",
672
+ "tags": [
673
+ {
674
+ "name": "param",
675
+ "text": [
676
+ {
677
+ "text": "start",
678
+ "kind": "parameterName"
679
+ },
680
+ {
681
+ "text": " ",
682
+ "kind": "space"
683
+ },
684
+ {
685
+ "text": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
686
+ "kind": "text"
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ "name": "param",
692
+ "text": [
693
+ {
694
+ "text": "end",
695
+ "kind": "parameterName"
696
+ },
697
+ {
698
+ "text": " ",
699
+ "kind": "space"
700
+ },
701
+ {
702
+ "text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
703
+ "kind": "text"
704
+ }
705
+ ]
706
+ }
707
+ ],
708
+ "docs": "Returns a copy of a section of an array.\r\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\r\nFor example, -2 refers to the second to last element of the array.",
709
+ "complexTypes": [
710
+ "T"
711
+ ],
712
+ "slug": "slice"
713
+ },
714
+ {
715
+ "name": "sort",
716
+ "signature": "(compareFn?: ((a: T, b: T) => number) | undefined) => this",
717
+ "parameters": [
718
+ {
719
+ "name": "compareFn",
720
+ "docs": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
721
+ "type": "((a: T, b: T) => number) | undefined"
722
+ }
723
+ ],
724
+ "returns": "this",
725
+ "tags": [
726
+ {
727
+ "name": "param",
728
+ "text": [
729
+ {
730
+ "text": "compareFn",
731
+ "kind": "parameterName"
732
+ },
733
+ {
734
+ "text": " ",
735
+ "kind": "space"
736
+ },
737
+ {
738
+ "text": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
739
+ "kind": "text"
740
+ }
741
+ ]
742
+ }
743
+ ],
744
+ "docs": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
745
+ "complexTypes": [
746
+ "T"
747
+ ],
748
+ "slug": "sort"
749
+ },
750
+ {
751
+ "name": "splice",
752
+ "signature": "(start: number, deleteCount?: number) => T[]",
753
+ "parameters": [
754
+ {
755
+ "name": "start",
756
+ "docs": "The zero-based location in the array from which to start removing elements.",
757
+ "type": "number"
758
+ },
759
+ {
760
+ "name": "deleteCount",
761
+ "docs": "The number of elements to remove.",
762
+ "type": "number | undefined"
763
+ }
764
+ ],
765
+ "returns": "T[]",
766
+ "tags": [
767
+ {
768
+ "name": "param",
769
+ "text": [
770
+ {
771
+ "text": "start",
772
+ "kind": "parameterName"
773
+ },
774
+ {
775
+ "text": " ",
776
+ "kind": "space"
777
+ },
778
+ {
779
+ "text": "The zero-based location in the array from which to start removing elements.",
780
+ "kind": "text"
781
+ }
782
+ ]
783
+ },
784
+ {
785
+ "name": "param",
786
+ "text": [
787
+ {
788
+ "text": "deleteCount",
789
+ "kind": "parameterName"
790
+ },
791
+ {
792
+ "text": " ",
793
+ "kind": "space"
794
+ },
795
+ {
796
+ "text": "The number of elements to remove.",
797
+ "kind": "text"
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "name": "returns",
803
+ "text": [
804
+ {
805
+ "text": "An array containing the elements that were deleted.",
806
+ "kind": "text"
807
+ }
808
+ ]
809
+ }
810
+ ],
811
+ "docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
812
+ "complexTypes": [
813
+ "T"
814
+ ],
815
+ "slug": "splice"
816
+ },
817
+ {
818
+ "name": "splice",
819
+ "signature": "(start: number, deleteCount: number, ...items: T[]) => T[]",
820
+ "parameters": [
821
+ {
822
+ "name": "start",
823
+ "docs": "The zero-based location in the array from which to start removing elements.",
824
+ "type": "number"
825
+ },
826
+ {
827
+ "name": "deleteCount",
828
+ "docs": "The number of elements to remove.",
829
+ "type": "number"
830
+ },
831
+ {
832
+ "name": "items",
833
+ "docs": "Elements to insert into the array in place of the deleted elements.",
834
+ "type": "T[]"
835
+ }
836
+ ],
837
+ "returns": "T[]",
838
+ "tags": [
839
+ {
840
+ "name": "param",
841
+ "text": [
842
+ {
843
+ "text": "start",
844
+ "kind": "parameterName"
845
+ },
846
+ {
847
+ "text": " ",
848
+ "kind": "space"
849
+ },
850
+ {
851
+ "text": "The zero-based location in the array from which to start removing elements.",
852
+ "kind": "text"
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "name": "param",
858
+ "text": [
859
+ {
860
+ "text": "deleteCount",
861
+ "kind": "parameterName"
862
+ },
863
+ {
864
+ "text": " ",
865
+ "kind": "space"
866
+ },
867
+ {
868
+ "text": "The number of elements to remove.",
869
+ "kind": "text"
870
+ }
871
+ ]
872
+ },
873
+ {
874
+ "name": "param",
875
+ "text": [
876
+ {
877
+ "text": "items",
878
+ "kind": "parameterName"
879
+ },
880
+ {
881
+ "text": " ",
882
+ "kind": "space"
883
+ },
884
+ {
885
+ "text": "Elements to insert into the array in place of the deleted elements.",
886
+ "kind": "text"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "name": "returns",
892
+ "text": [
893
+ {
894
+ "text": "An array containing the elements that were deleted.",
895
+ "kind": "text"
896
+ }
897
+ ]
898
+ }
899
+ ],
900
+ "docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
901
+ "complexTypes": [
902
+ "T"
903
+ ],
904
+ "slug": "splice"
905
+ },
906
+ {
907
+ "name": "unshift",
908
+ "signature": "(...items: T[]) => number",
909
+ "parameters": [
910
+ {
911
+ "name": "items",
912
+ "docs": "Elements to insert at the start of the array.",
913
+ "type": "T[]"
914
+ }
915
+ ],
916
+ "returns": "number",
917
+ "tags": [
918
+ {
919
+ "name": "param",
920
+ "text": [
921
+ {
922
+ "text": "items",
923
+ "kind": "parameterName"
924
+ },
925
+ {
926
+ "text": " ",
927
+ "kind": "space"
928
+ },
929
+ {
930
+ "text": "Elements to insert at the start of the array.",
931
+ "kind": "text"
932
+ }
933
+ ]
934
+ }
935
+ ],
936
+ "docs": "Inserts new elements at the start of an array, and returns the new length of the array.",
937
+ "complexTypes": [
938
+ "T"
939
+ ],
940
+ "slug": "unshift"
941
+ },
942
+ {
943
+ "name": "indexOf",
944
+ "signature": "(searchElement: T, fromIndex?: number) => number",
945
+ "parameters": [
946
+ {
947
+ "name": "searchElement",
948
+ "docs": "The value to locate in the array.",
949
+ "type": "T"
950
+ },
951
+ {
952
+ "name": "fromIndex",
953
+ "docs": "The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",
954
+ "type": "number | undefined"
955
+ }
956
+ ],
957
+ "returns": "number",
958
+ "tags": [
959
+ {
960
+ "name": "param",
961
+ "text": [
962
+ {
963
+ "text": "searchElement",
964
+ "kind": "parameterName"
965
+ },
966
+ {
967
+ "text": " ",
968
+ "kind": "space"
969
+ },
970
+ {
971
+ "text": "The value to locate in the array.",
972
+ "kind": "text"
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "name": "param",
978
+ "text": [
979
+ {
980
+ "text": "fromIndex",
981
+ "kind": "parameterName"
982
+ },
983
+ {
984
+ "text": " ",
985
+ "kind": "space"
986
+ },
987
+ {
988
+ "text": "The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",
989
+ "kind": "text"
990
+ }
991
+ ]
992
+ }
993
+ ],
994
+ "docs": "Returns the index of the first occurrence of a value in an array, or -1 if it is not present.",
995
+ "complexTypes": [
996
+ "T"
997
+ ],
998
+ "slug": "indexof"
999
+ },
1000
+ {
1001
+ "name": "lastIndexOf",
1002
+ "signature": "(searchElement: T, fromIndex?: number) => number",
1003
+ "parameters": [
1004
+ {
1005
+ "name": "searchElement",
1006
+ "docs": "The value to locate in the array.",
1007
+ "type": "T"
1008
+ },
1009
+ {
1010
+ "name": "fromIndex",
1011
+ "docs": "The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",
1012
+ "type": "number | undefined"
1013
+ }
1014
+ ],
1015
+ "returns": "number",
1016
+ "tags": [
1017
+ {
1018
+ "name": "param",
1019
+ "text": [
1020
+ {
1021
+ "text": "searchElement",
1022
+ "kind": "parameterName"
1023
+ },
1024
+ {
1025
+ "text": " ",
1026
+ "kind": "space"
1027
+ },
1028
+ {
1029
+ "text": "The value to locate in the array.",
1030
+ "kind": "text"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "name": "param",
1036
+ "text": [
1037
+ {
1038
+ "text": "fromIndex",
1039
+ "kind": "parameterName"
1040
+ },
1041
+ {
1042
+ "text": " ",
1043
+ "kind": "space"
1044
+ },
1045
+ {
1046
+ "text": "The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",
1047
+ "kind": "text"
1048
+ }
1049
+ ]
1050
+ }
1051
+ ],
1052
+ "docs": "Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.",
1053
+ "complexTypes": [
1054
+ "T"
1055
+ ],
1056
+ "slug": "lastindexof"
1057
+ },
1058
+ {
1059
+ "name": "every",
1060
+ "signature": "<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => this is S[]",
1061
+ "parameters": [
1062
+ {
1063
+ "name": "predicate",
1064
+ "docs": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1065
+ "type": "(value: T, index: number, array: T[]) => value is S"
1066
+ },
1067
+ {
1068
+ "name": "thisArg",
1069
+ "docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1070
+ "type": "any"
1071
+ }
1072
+ ],
1073
+ "returns": "boolean",
1074
+ "tags": [
1075
+ {
1076
+ "name": "param",
1077
+ "text": [
1078
+ {
1079
+ "text": "predicate",
1080
+ "kind": "parameterName"
1081
+ },
1082
+ {
1083
+ "text": " ",
1084
+ "kind": "space"
1085
+ },
1086
+ {
1087
+ "text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1088
+ "kind": "text"
1089
+ }
1090
+ ]
1091
+ },
1092
+ {
1093
+ "name": "param",
1094
+ "text": [
1095
+ {
1096
+ "text": "thisArg",
1097
+ "kind": "parameterName"
1098
+ },
1099
+ {
1100
+ "text": " ",
1101
+ "kind": "space"
1102
+ },
1103
+ {
1104
+ "text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1105
+ "kind": "text"
1106
+ }
1107
+ ]
1108
+ }
1109
+ ],
1110
+ "docs": "Determines whether all the members of an array satisfy the specified test.",
1111
+ "complexTypes": [
1112
+ "T",
1113
+ "S"
1114
+ ],
1115
+ "slug": "every"
1116
+ },
1117
+ {
1118
+ "name": "every",
1119
+ "signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean",
1120
+ "parameters": [
1121
+ {
1122
+ "name": "predicate",
1123
+ "docs": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1124
+ "type": "(value: T, index: number, array: T[]) => unknown"
1125
+ },
1126
+ {
1127
+ "name": "thisArg",
1128
+ "docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1129
+ "type": "any"
1130
+ }
1131
+ ],
1132
+ "returns": "boolean",
1133
+ "tags": [
1134
+ {
1135
+ "name": "param",
1136
+ "text": [
1137
+ {
1138
+ "text": "predicate",
1139
+ "kind": "parameterName"
1140
+ },
1141
+ {
1142
+ "text": " ",
1143
+ "kind": "space"
1144
+ },
1145
+ {
1146
+ "text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1147
+ "kind": "text"
1148
+ }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "name": "param",
1153
+ "text": [
1154
+ {
1155
+ "text": "thisArg",
1156
+ "kind": "parameterName"
1157
+ },
1158
+ {
1159
+ "text": " ",
1160
+ "kind": "space"
1161
+ },
1162
+ {
1163
+ "text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1164
+ "kind": "text"
1165
+ }
1166
+ ]
1167
+ }
1168
+ ],
1169
+ "docs": "Determines whether all the members of an array satisfy the specified test.",
1170
+ "complexTypes": [
1171
+ "T"
1172
+ ],
1173
+ "slug": "every"
1174
+ },
1175
+ {
1176
+ "name": "some",
1177
+ "signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean",
1178
+ "parameters": [
1179
+ {
1180
+ "name": "predicate",
1181
+ "docs": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
1182
+ "type": "(value: T, index: number, array: T[]) => unknown"
1183
+ },
1184
+ {
1185
+ "name": "thisArg",
1186
+ "docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1187
+ "type": "any"
1188
+ }
1189
+ ],
1190
+ "returns": "boolean",
1191
+ "tags": [
1192
+ {
1193
+ "name": "param",
1194
+ "text": [
1195
+ {
1196
+ "text": "predicate",
1197
+ "kind": "parameterName"
1198
+ },
1199
+ {
1200
+ "text": " ",
1201
+ "kind": "space"
1202
+ },
1203
+ {
1204
+ "text": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
1205
+ "kind": "text"
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "name": "param",
1211
+ "text": [
1212
+ {
1213
+ "text": "thisArg",
1214
+ "kind": "parameterName"
1215
+ },
1216
+ {
1217
+ "text": " ",
1218
+ "kind": "space"
1219
+ },
1220
+ {
1221
+ "text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1222
+ "kind": "text"
1223
+ }
1224
+ ]
1225
+ }
1226
+ ],
1227
+ "docs": "Determines whether the specified callback function returns true for any element of an array.",
1228
+ "complexTypes": [
1229
+ "T"
1230
+ ],
1231
+ "slug": "some"
1232
+ },
1233
+ {
1234
+ "name": "forEach",
1235
+ "signature": "(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void",
1236
+ "parameters": [
1237
+ {
1238
+ "name": "callbackfn",
1239
+ "docs": "A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.",
1240
+ "type": "(value: T, index: number, array: T[]) => void"
1241
+ },
1242
+ {
1243
+ "name": "thisArg",
1244
+ "docs": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
1245
+ "type": "any"
1246
+ }
1247
+ ],
1248
+ "returns": "void",
1249
+ "tags": [
1250
+ {
1251
+ "name": "param",
1252
+ "text": [
1253
+ {
1254
+ "text": "callbackfn",
1255
+ "kind": "parameterName"
1256
+ },
1257
+ {
1258
+ "text": " ",
1259
+ "kind": "space"
1260
+ },
1261
+ {
1262
+ "text": "A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.",
1263
+ "kind": "text"
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "name": "param",
1269
+ "text": [
1270
+ {
1271
+ "text": "thisArg",
1272
+ "kind": "parameterName"
1273
+ },
1274
+ {
1275
+ "text": " ",
1276
+ "kind": "space"
1277
+ },
1278
+ {
1279
+ "text": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
1280
+ "kind": "text"
1281
+ }
1282
+ ]
1283
+ }
1284
+ ],
1285
+ "docs": "Performs the specified action for each element in an array.",
1286
+ "complexTypes": [
1287
+ "T"
1288
+ ],
1289
+ "slug": "foreach"
1290
+ },
1291
+ {
1292
+ "name": "map",
1293
+ "signature": "<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[]",
1294
+ "parameters": [
1295
+ {
1296
+ "name": "callbackfn",
1297
+ "docs": "A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.",
1298
+ "type": "(value: T, index: number, array: T[]) => U"
1299
+ },
1300
+ {
1301
+ "name": "thisArg",
1302
+ "docs": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
1303
+ "type": "any"
1304
+ }
1305
+ ],
1306
+ "returns": "U[]",
1307
+ "tags": [
1308
+ {
1309
+ "name": "param",
1310
+ "text": [
1311
+ {
1312
+ "text": "callbackfn",
1313
+ "kind": "parameterName"
1314
+ },
1315
+ {
1316
+ "text": " ",
1317
+ "kind": "space"
1318
+ },
1319
+ {
1320
+ "text": "A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.",
1321
+ "kind": "text"
1322
+ }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "name": "param",
1327
+ "text": [
1328
+ {
1329
+ "text": "thisArg",
1330
+ "kind": "parameterName"
1331
+ },
1332
+ {
1333
+ "text": " ",
1334
+ "kind": "space"
1335
+ },
1336
+ {
1337
+ "text": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
1338
+ "kind": "text"
1339
+ }
1340
+ ]
1341
+ }
1342
+ ],
1343
+ "docs": "Calls a defined callback function on each element of an array, and returns an array that contains the results.",
1344
+ "complexTypes": [
1345
+ "U",
1346
+ "T"
1347
+ ],
1348
+ "slug": "map"
1349
+ },
1350
+ {
1351
+ "name": "filter",
1352
+ "signature": "<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => S[]",
1353
+ "parameters": [
1354
+ {
1355
+ "name": "predicate",
1356
+ "docs": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
1357
+ "type": "(value: T, index: number, array: T[]) => value is S"
1358
+ },
1359
+ {
1360
+ "name": "thisArg",
1361
+ "docs": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
1362
+ "type": "any"
1363
+ }
1364
+ ],
1365
+ "returns": "S[]",
1366
+ "tags": [
1367
+ {
1368
+ "name": "param",
1369
+ "text": [
1370
+ {
1371
+ "text": "predicate",
1372
+ "kind": "parameterName"
1373
+ },
1374
+ {
1375
+ "text": " ",
1376
+ "kind": "space"
1377
+ },
1378
+ {
1379
+ "text": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
1380
+ "kind": "text"
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "name": "param",
1386
+ "text": [
1387
+ {
1388
+ "text": "thisArg",
1389
+ "kind": "parameterName"
1390
+ },
1391
+ {
1392
+ "text": " ",
1393
+ "kind": "space"
1394
+ },
1395
+ {
1396
+ "text": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
1397
+ "kind": "text"
1398
+ }
1399
+ ]
1400
+ }
1401
+ ],
1402
+ "docs": "Returns the elements of an array that meet the condition specified in a callback function.",
1403
+ "complexTypes": [
1404
+ "S",
1405
+ "T"
1406
+ ],
1407
+ "slug": "filter"
1408
+ },
1409
+ {
1410
+ "name": "filter",
1411
+ "signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => T[]",
1412
+ "parameters": [
1413
+ {
1414
+ "name": "predicate",
1415
+ "docs": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
1416
+ "type": "(value: T, index: number, array: T[]) => unknown"
1417
+ },
1418
+ {
1419
+ "name": "thisArg",
1420
+ "docs": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
1421
+ "type": "any"
1422
+ }
1423
+ ],
1424
+ "returns": "T[]",
1425
+ "tags": [
1426
+ {
1427
+ "name": "param",
1428
+ "text": [
1429
+ {
1430
+ "text": "predicate",
1431
+ "kind": "parameterName"
1432
+ },
1433
+ {
1434
+ "text": " ",
1435
+ "kind": "space"
1436
+ },
1437
+ {
1438
+ "text": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
1439
+ "kind": "text"
1440
+ }
1441
+ ]
1442
+ },
1443
+ {
1444
+ "name": "param",
1445
+ "text": [
1446
+ {
1447
+ "text": "thisArg",
1448
+ "kind": "parameterName"
1449
+ },
1450
+ {
1451
+ "text": " ",
1452
+ "kind": "space"
1453
+ },
1454
+ {
1455
+ "text": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
1456
+ "kind": "text"
1457
+ }
1458
+ ]
1459
+ }
1460
+ ],
1461
+ "docs": "Returns the elements of an array that meet the condition specified in a callback function.",
1462
+ "complexTypes": [
1463
+ "T"
1464
+ ],
1465
+ "slug": "filter"
1466
+ },
1467
+ {
1468
+ "name": "reduce",
1469
+ "signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T",
1470
+ "parameters": [
1471
+ {
1472
+ "name": "callbackfn",
1473
+ "docs": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
1474
+ "type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
1475
+ }
1476
+ ],
1477
+ "returns": "T",
1478
+ "tags": [
1479
+ {
1480
+ "name": "param",
1481
+ "text": [
1482
+ {
1483
+ "text": "callbackfn",
1484
+ "kind": "parameterName"
1485
+ },
1486
+ {
1487
+ "text": " ",
1488
+ "kind": "space"
1489
+ },
1490
+ {
1491
+ "text": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
1492
+ "kind": "text"
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "name": "param",
1498
+ "text": [
1499
+ {
1500
+ "text": "initialValue",
1501
+ "kind": "parameterName"
1502
+ },
1503
+ {
1504
+ "text": " ",
1505
+ "kind": "space"
1506
+ },
1507
+ {
1508
+ "text": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1509
+ "kind": "text"
1510
+ }
1511
+ ]
1512
+ }
1513
+ ],
1514
+ "docs": "Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
1515
+ "complexTypes": [
1516
+ "T"
1517
+ ],
1518
+ "slug": "reduce"
1519
+ },
1520
+ {
1521
+ "name": "reduce",
1522
+ "signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T",
1523
+ "parameters": [
1524
+ {
1525
+ "name": "callbackfn",
1526
+ "docs": "",
1527
+ "type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
1528
+ },
1529
+ {
1530
+ "name": "initialValue",
1531
+ "docs": "",
1532
+ "type": "T"
1533
+ }
1534
+ ],
1535
+ "returns": "T",
1536
+ "tags": [],
1537
+ "docs": "",
1538
+ "complexTypes": [
1539
+ "T"
1540
+ ],
1541
+ "slug": "reduce"
1542
+ },
1543
+ {
1544
+ "name": "reduce",
1545
+ "signature": "<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U",
1546
+ "parameters": [
1547
+ {
1548
+ "name": "callbackfn",
1549
+ "docs": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
1550
+ "type": "(previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U"
1551
+ },
1552
+ {
1553
+ "name": "initialValue",
1554
+ "docs": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1555
+ "type": "U"
1556
+ }
1557
+ ],
1558
+ "returns": "U",
1559
+ "tags": [
1560
+ {
1561
+ "name": "param",
1562
+ "text": [
1563
+ {
1564
+ "text": "callbackfn",
1565
+ "kind": "parameterName"
1566
+ },
1567
+ {
1568
+ "text": " ",
1569
+ "kind": "space"
1570
+ },
1571
+ {
1572
+ "text": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
1573
+ "kind": "text"
1574
+ }
1575
+ ]
1576
+ },
1577
+ {
1578
+ "name": "param",
1579
+ "text": [
1580
+ {
1581
+ "text": "initialValue",
1582
+ "kind": "parameterName"
1583
+ },
1584
+ {
1585
+ "text": " ",
1586
+ "kind": "space"
1587
+ },
1588
+ {
1589
+ "text": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1590
+ "kind": "text"
1591
+ }
1592
+ ]
1593
+ }
1594
+ ],
1595
+ "docs": "Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
1596
+ "complexTypes": [
1597
+ "U",
1598
+ "T"
1599
+ ],
1600
+ "slug": "reduce"
1601
+ },
1602
+ {
1603
+ "name": "reduceRight",
1604
+ "signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T",
1605
+ "parameters": [
1606
+ {
1607
+ "name": "callbackfn",
1608
+ "docs": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
1609
+ "type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
1610
+ }
1611
+ ],
1612
+ "returns": "T",
1613
+ "tags": [
1614
+ {
1615
+ "name": "param",
1616
+ "text": [
1617
+ {
1618
+ "text": "callbackfn",
1619
+ "kind": "parameterName"
1620
+ },
1621
+ {
1622
+ "text": " ",
1623
+ "kind": "space"
1624
+ },
1625
+ {
1626
+ "text": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
1627
+ "kind": "text"
1628
+ }
1629
+ ]
1630
+ },
1631
+ {
1632
+ "name": "param",
1633
+ "text": [
1634
+ {
1635
+ "text": "initialValue",
1636
+ "kind": "parameterName"
1637
+ },
1638
+ {
1639
+ "text": " ",
1640
+ "kind": "space"
1641
+ },
1642
+ {
1643
+ "text": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1644
+ "kind": "text"
1645
+ }
1646
+ ]
1647
+ }
1648
+ ],
1649
+ "docs": "Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
1650
+ "complexTypes": [
1651
+ "T"
1652
+ ],
1653
+ "slug": "reduceright"
1654
+ },
1655
+ {
1656
+ "name": "reduceRight",
1657
+ "signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T",
1658
+ "parameters": [
1659
+ {
1660
+ "name": "callbackfn",
1661
+ "docs": "",
1662
+ "type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
1663
+ },
1664
+ {
1665
+ "name": "initialValue",
1666
+ "docs": "",
1667
+ "type": "T"
1668
+ }
1669
+ ],
1670
+ "returns": "T",
1671
+ "tags": [],
1672
+ "docs": "",
1673
+ "complexTypes": [
1674
+ "T"
1675
+ ],
1676
+ "slug": "reduceright"
1677
+ },
1678
+ {
1679
+ "name": "reduceRight",
1680
+ "signature": "<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U",
1681
+ "parameters": [
1682
+ {
1683
+ "name": "callbackfn",
1684
+ "docs": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
1685
+ "type": "(previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U"
1686
+ },
1687
+ {
1688
+ "name": "initialValue",
1689
+ "docs": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1690
+ "type": "U"
1691
+ }
1692
+ ],
1693
+ "returns": "U",
1694
+ "tags": [
1695
+ {
1696
+ "name": "param",
1697
+ "text": [
1698
+ {
1699
+ "text": "callbackfn",
1700
+ "kind": "parameterName"
1701
+ },
1702
+ {
1703
+ "text": " ",
1704
+ "kind": "space"
1705
+ },
1706
+ {
1707
+ "text": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
1708
+ "kind": "text"
1709
+ }
1710
+ ]
1711
+ },
1712
+ {
1713
+ "name": "param",
1714
+ "text": [
1715
+ {
1716
+ "text": "initialValue",
1717
+ "kind": "parameterName"
1718
+ },
1719
+ {
1720
+ "text": " ",
1721
+ "kind": "space"
1722
+ },
1723
+ {
1724
+ "text": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
1725
+ "kind": "text"
1726
+ }
1727
+ ]
1728
+ }
1729
+ ],
1730
+ "docs": "Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
1731
+ "complexTypes": [
1732
+ "U",
1733
+ "T"
1734
+ ],
1735
+ "slug": "reduceright"
1736
+ }
1737
+ ],
1738
+ "properties": [
1739
+ {
1740
+ "name": "length",
1741
+ "tags": [],
1742
+ "docs": "Gets or sets the length of the array. This is a number one higher than the highest index in the array.",
1743
+ "complexTypes": [],
1744
+ "type": "number"
1745
+ }
1746
+ ]
1747
+ },
1748
+ {
1749
+ "name": "ConcatArray",
1750
+ "slug": "concatarray",
1751
+ "docs": "",
1752
+ "tags": [],
1753
+ "methods": [
1754
+ {
1755
+ "name": "join",
1756
+ "signature": "(separator?: string) => string",
1757
+ "parameters": [
1758
+ {
1759
+ "name": "separator",
1760
+ "docs": "",
1761
+ "type": "string | undefined"
1762
+ }
1763
+ ],
1764
+ "returns": "string",
1765
+ "tags": [],
1766
+ "docs": "",
1767
+ "complexTypes": [],
1768
+ "slug": "join"
1769
+ },
1770
+ {
1771
+ "name": "slice",
1772
+ "signature": "(start?: number, end?: number) => T[]",
1773
+ "parameters": [
1774
+ {
1775
+ "name": "start",
1776
+ "docs": "",
1777
+ "type": "number | undefined"
1778
+ },
1779
+ {
1780
+ "name": "end",
1781
+ "docs": "",
1782
+ "type": "number | undefined"
1783
+ }
1784
+ ],
1785
+ "returns": "T[]",
1786
+ "tags": [],
1787
+ "docs": "",
1788
+ "complexTypes": [
1789
+ "T"
1790
+ ],
1791
+ "slug": "slice"
1792
+ }
1793
+ ],
1794
+ "properties": [
1795
+ {
1796
+ "name": "length",
1797
+ "tags": [],
1798
+ "docs": "",
1799
+ "complexTypes": [],
1800
+ "type": "number"
1801
+ }
1802
+ ]
1803
+ },
450
1804
  {
451
1805
  "name": "AudioTrack",
452
1806
  "slug": "audiotrack",
@@ -575,7 +1929,7 @@
575
1929
  "Array",
576
1930
  "AudioTrack"
577
1931
  ],
578
- "type": "Array<AudioTrack>"
1932
+ "type": "AudioTrack[]"
579
1933
  }
580
1934
  ]
581
1935
  },
@@ -617,7 +1971,7 @@
617
1971
  "Array",
618
1972
  "RemoveItemOptions"
619
1973
  ],
620
- "type": "Array<RemoveItemOptions>"
1974
+ "type": "RemoveItemOptions[]"
621
1975
  }
622
1976
  ]
623
1977
  },