Skip to content

Instantly share code, notes, and snippets.

@jwalgemoed jwalgemoed/lazy.kt Secret
Created Jan 3, 2018

What would you like to do?
val fileContents by lazy { readFile("someFile.txt") }
fun main(args: Array<String>) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.