notNull

fun <T : Any> Single<T?>.notNull(): Maybe<T>

Returns a Maybe that emits the value emitted by this Single only if it is not null, completes otherwise.