ofType

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

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