Created
December 22, 2021 09:43
-
-
Save nbness2/ef6a62f63ff8dc52abc7d468e4664314 to your computer and use it in GitHub Desktop.
Use ReturnString interface
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 returnAString = ReturnString { "a string" } | |
fun main() { | |
println(returnAString.string) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment