mapData

fun <S> mapData(dataMapper: (T) -> S): Result<S>

Maps the type T to type S.

Parameters

dataMapper

function that maps a type T to a type of S.