test / foo

foo

fun foo(): Int

Groups elements of the original sequence by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements.



fun main(args: Array<String>) {
//sampleStart
if (true) {
    println(property)
}
//sampleEnd
}
fun foo(i: Int): Int