ofType

inline fun <T> Single<*>.ofType(): Maybe<T>

Returns Maybe that emits the success value of this Single if it is an instance of T, otherwise completes.