Skip to content

Instantly share code, notes, and snippets.

@sagarpatel288
Created May 8, 2020 02:05
Show Gist options
  • Save sagarpatel288/6acfa7819b8390bd3654e620b790cabc to your computer and use it in GitHub Desktop.
Save sagarpatel288/6acfa7819b8390bd3654e620b790cabc to your computer and use it in GitHub Desktop.
A function type without any parameter
//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