https://kotlinlang.org logo
a

agrosner

11/01/2018, 1:40 PM
so you can change it to:
Copy code
val age by lazy { calculateAge(someOtherVar) }
and then thats it