map

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

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

Please refer to the corresponding RxJava document.