dimsuz
02/19/2024, 4:02 PMList<Either<Throwable, Int>> what's the best way to filter out only Right values and then get a List<Int> discarding left values? I can do a filter + map, but is there 2 in 1 option available?
UPD. I have found that I can do list.mapNotNull { it.getOrNull() }