https://kotlinlang.org logo
v

voddan

06/10/2016, 3:17 AM
forEach
is probably better in this context, but
!!
is also an option
Copy code
if(boxes != null) {
    for(b in boxes!!) {
                
    }
}