groostav
05/02/2017, 5:37 AMmarcinmoskala
05/02/2017, 7:29 AMlazy val a = getValOfA()
If so then there is no such thing. There is only lazy basing on property delegation:
val a by lazy { getValOfA() }
But the result is nearly the samegroostav
05/02/2017, 5:33 PMlazy { 42 } == lazy { 42 }
currently returns false