map

fun <T, R> Maybe<T>.map(mapper: (T) -> R): Maybe<R>

Converts the value emitted by the Maybe using the provided mapper and emits the result.

Please refer to the corresponding RxJava document.