Created
March 3, 2019 10:42
-
-
Save MarcinMoskala/e96005f13616b50c157c4d93d7845ede to your computer and use it in GitHub Desktop.
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
fun processPerson(person: Person?) { | |
val name = person?.name ?: throw Error() | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment