cedric
takeWhile
var done = false listOf(1,2,3,4).takeWhile{! done}.forEach { println(it) if (it >= 3) done = true } 1234