Created
July 10, 2020 14:43
-
-
Save hanslovsky/37c98512a36353ceb6fd2c47468da4d7 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
const val BEST = "PAH" | |
val String?.better: String | |
get() = BEST | |
fun main(vararg args: String) { | |
val name = args.firstOrNull() | |
println("Hello, ${name.better}!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment