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/Observable+Occupiable.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ public extension ObservableType where E: Occupiable {
8
8
- returns: `Observable` of source `Observable`'s occupiable elements, with empty occupiable elements filtered out.
9
9
*/
10
10
11
-
publicfunc filterEmpty()->Observable<E>{
11
+
func filterEmpty()->Observable<E>{
12
12
returnself.flatMap{ element ->Observable<E>in
13
13
guard element.isNotEmpty else{
14
14
return Observable<E>.empty()
@@ -25,7 +25,7 @@ public extension ObservableType where E: Occupiable {
25
25
- returns: `Observable` of the source `Observable`'s occupiable elements, with empty occupiable elements replaced by the handler's returned non-empty occupiable elements.
0 commit comments