title: is it possible to break out of closure in groovy
body: <p>is there a way to 'break' out of a groovy closure. </p>
  
  <p>maybe something like this:</p>
  
  <pre><code>[1, 2, 3].each { 
    println(it)
    if (it == 2)
      break 
  }
  </code></pre>