maybeOfNotNull

fun <T : Any> maybeOfNotNull(value: T?): Maybe<T>

Returns a Maybe that emits the provided value if it is not null, otherwise completes.