title: How to declare array type that can have int and floats
body: <p>I am a newbie to Julia and still trying to figure out everything.
  I want to restrict input variable type to array that can contain int and floats.
  I would really appreciate any help.</p>
  
  <pre><code>function foo(array::??)
  </code></pre>