id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Lambda IntroIntLambda1

prev  |  next  |  chance

fun doubleIt1(i: Int): Int = i * 2

fun func1(i: Int): Int = doubleIt1(i)

Function Call  Return Value
func1(5)    
func1(10)  
func1(20)  

Experiment with this code on Gitpod.io or as a Kotlin Playground

⬅ Back