Created
November 30, 2018 15:26
-
-
Save tasaquino/3d54abf53643c7ab5b425f7e3f8e435b to your computer and use it in GitHub Desktop.
Scoping Functions - example validating null object
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
val nullablePerson: Person? = attPair?.let { | |
mapToPerson(it) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment