Last active
July 20, 2019 21:04
-
-
Save LucianoPAlmeida/65461ceac4602f598bccabdf74d150d5 to your computer and use it in GitHub Desktop.
Kotlin
This file contains hidden or 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
fun getUser(usid: String) { | |
apiToken { // it: String | |
findUser(usid: it) { //it: User | |
// Do what you want with the user. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment