Guys, help, I need some extension method from <htt...
# announcements
e
Guys, help, I need some extension method from https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html that receives collection and returns single value. Something like
.mapListIntoSingleValue()
val singleObj = scanner.nextLine().split(' ').someMagicMethod { MyAwesomeClass(it[0], it[1]) }
which one should I pick?