Skip to content

Instantly share code, notes, and snippets.

@KenVanHoeylandt
Forked from cbeyls/KotlinFunctions.md
Created April 17, 2018 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KenVanHoeylandt/fa1a2d260393e0210faac661e4351f89 to your computer and use it in GitHub Desktop.
Save KenVanHoeylandt/fa1a2d260393e0210faac661e4351f89 to your computer and use it in GitHub Desktop.
Comparison of Kotlin functions: also, apply, let, run, with
Function Function type Target passed as Returns
also Extension it Target
apply Extension this Target
let Extension it Block return value
run Extension this Block return value
with Regular this Block return value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment