Skip to content

Instantly share code, notes, and snippets.

@sagarpatel288
Created May 4, 2020 11:09
Show Gist options
  • Save sagarpatel288/f75a48ddd180bc4535a566f0bb993a56 to your computer and use it in GitHub Desktop.
Save sagarpatel288/f75a48ddd180bc4535a566f0bb993a56 to your computer and use it in GitHub Desktop.
Making a simple inline function
inline fun Int.doSomething(y: Int, ftOne: Int.(Int) -> Int, ftTwo: (Int) -> Int) {
/*...*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment