Answers for "return@foreach not working kotlin"

2

return@foreach not working kotlin

run breaker@ {
   list.forEach  { it ->
        if (true) {
           return@breaker
        }
    }
}
Posted by: Guest on October-14-2021

Code answers related to "return@foreach not working kotlin"

Browse Popular Code Answers by Language