https://kotlinlang.org logo
o

orangy

01/12/2017, 10:43 AM
if captured in a lambda, yes, IntRef is used automatically. If you need to do it explicitly, you’d need to use
IntRef
manually.