/** * Tae Won Ha - http://taewon.de - @hataewon * See LICENSE */ import Foundation import RxSwift extension Array { /// This method only makes sense for `Array>`. /// - Returns: Merged observables func toMergedObservables() -> Observable { return self .flatMap { $0 as? Observable } .toObservable() .flatMap { $0 } } }