title: What is the best way to call a function that receives single objects as argument when you have collections instead?
body: <p>Sometimes you have a function that will work for flat arguments. For example:</p>
  
  <pre><code>send(player,message)
  </code></pre>
  
  <p>But what if, instead, you have collections of players / messages?</p>
  
  <pre><code>message = ['Welcome!','Check our site for events.']
  players = [Player1,Player2,Player3]
  </code></pre>
  
  <p>Writting for-loops will reduce readability and won't work if you don't know statically if your argument is a collection or object. Rewritting the function is sometimes not viable or too laborous and promotes duplicate code. What is a simplier solution?</p>