Skip to content

Instantly share code, notes, and snippets.

@NitinPraksash9911
Last active March 6, 2020 07:16
Show Gist options
  • Save NitinPraksash9911/4e39ca42a234bd6cbcbfb099eff4e61b to your computer and use it in GitHub Desktop.
Save NitinPraksash9911/4e39ca42a234bd6cbcbfb099eff4e61b to your computer and use it in GitHub Desktop.
/** normal function **/
fun methodName(data: String) {
println(data)
}
/** lambda expression **/
val test = {data:String-> println(data) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment