title: What is the difference between any and find in groovy?
body: <p>I am trying to get the set values from closure in groovy:</p>
  
  <pre><code>myList(1, 2, 3).any { it &gt; 2 }
  myList(1, 2, 3).find { it &gt; 2 }
  </code></pre>
  
  <p>So not able to figure out, which one to use and better.</p>