You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/RxSwift/toSortedArray.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ import RxSwift
11
11
12
12
publicextensionObservableType{
13
13
/**
14
-
Converts an Observable into another Observable that emits the whole sequence as a single array, sorts it using the provided closure and then terminates.
14
+
Converts an Observable into another Observable that emits the whole sequence as a single array sorted using the provided closure and then terminates.
15
15
16
16
- parameter by: A comparator closure to sort emitted elements.
17
17
- returns: An observable sequence containing all the sorted emitted elements as an array.
@@ -23,7 +23,7 @@ public extension ObservableType {
23
23
24
24
publicextensionObservableTypewhere E:Comparable{
25
25
/**
26
-
Converts an Observable into another Observable that emits the whole sequence as a single array, sorts it using the provided closure and then terminates.
26
+
Converts an Observable into another Observable that emits the whole sequence as a single sorted array and then terminates.
27
27
28
28
- parameter ascending: Should the emitted items be ascending or descending.
29
29
- returns: An observable sequence containing all the sorted emitted elements as an array.
0 commit comments