Skip to content

Instantly share code, notes, and snippets.

@cbeyls
Last active June 20, 2022 14:59
Show Gist options
  • Star 34 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save cbeyls/4585fed631ad70993eeca6b406888ce6 to your computer and use it in GitHub Desktop.
Save cbeyls/4585fed631ad70993eeca6b406888ce6 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
@abrownventuretech
Copy link

This is great

@Luckvery
Copy link

Luckvery commented Feb 7, 2019

"It" is great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment