Skip to content

Instantly share code, notes, and snippets.

@dmitrykolesnikovich
Forked from cbeyls/KotlinFunctions.md
Created July 6, 2019 11:53
Show Gist options
  • Save dmitrykolesnikovich/d020c5cb044ffeefd8b1581bc70e2d45 to your computer and use it in GitHub Desktop.
Save dmitrykolesnikovich/d020c5cb044ffeefd8b1581bc70e2d45 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