Created
November 9, 2017 15:26
-
-
Save anonymous/a0f970110292dd925d55729a8a30cb18 to your computer and use it in GitHub Desktop.
Desctructering in Kotlin
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
data class Person(val name: String, val age: Int) | |
val(name, age) = Person("Guy", 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment