Yup: ``` fun <T> Iterator<T>.doWhile(...
# announcements
r
Yup:
Copy code
fun <T> Iterator<T>.doWhile(condition: () -> Boolean, op: (e: T) -> Unit) {
  while(hasNext() && condition()) op(next())
}