We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Lamda Expression
Both are equal Normal function
fun addTwoNum(x : Int , y :Int) : Int { return x+y }
Using lamda expression: It is a function without a name
{x,y -> x+y }