Created
May 8, 2020 02:05
-
-
Save sagarpatel288/6acfa7819b8390bd3654e620b790cabc to your computer and use it in GitHub Desktop.
A function type without any 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 no parameter | |
private fun doSomethingY(ft: () -> String) { | |
/*...*/ | |
} | |
//endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment