Created
December 16, 2017 12:12
-
-
Save aditrioka/10c8fb8f763a4b1ea1e3163e467d31fc 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 Person.doDance() { | |
println("*dancing*") | |
} | |
val Person.isOld get() = age >= 25 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment