Types

Report a typo

Match the functions and their possible types.

Match the items from left and right columns
{ 2 + 3 }
{ println(it) }
fun(i: Int) = i * i
() -> Int
(Int) -> Unit
(Int) -> Int
___

Create a free account to access the full topic