Last active
May 5, 2020 09:31
-
-
Save sagarpatel288/5fde0ce9a23e211c565755cf9788c14e to your computer and use it in GitHub Desktop.
A higher order function that has one and only function type parameter. This function type has also one and only parameter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//region A function type that has only one parameter | |
private fun doSomething(ft: (Int) -> String) { | |
/*...*/ | |
} | |
//endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment