title: Break array and pass as arguments in scala
body: <p>I am new to scala so forgive me if this is easy to do.</p>
  
  <p>I have an array consisting of values that I need to pass to a 
  function. But the function accepts multiple arguments. The arguments are present but how do I break the array and pass it to the function?</p>
  
  <p>In short I have array <code>[1,2,3]</code> and I want to call <code>func(1,2,3)</code>.</p>