Skip to content

Instantly share code, notes, and snippets.

@shruti-basil-hs
Created December 22, 2017 17:28
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 shruti-basil-hs/4996fd87dbc432f3384067addee65307 to your computer and use it in GitHub Desktop.
Save shruti-basil-hs/4996fd87dbc432f3384067addee65307 to your computer and use it in GitHub Desktop.
fun <T, R> T.let(f: (T) -> R): R = f(this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment