mapToUnit

fun mapToUnit(): Result<Unit>

Maps the type T to Unit.