title: Can Coldfusion define type of array in function argument?
body: <p>Inside a ColdFusion component I declare a function like this:</p>
  
  <pre><code>string function render(required Array actions) output=false {
  //...
  }
  </code></pre>
  
  <p>So the function parameter can only accept an Array. However, I need to make sure the array contains only "ActionItem" objects (there is an ActionItem.cfc component)</p>
  
  <p>Is there a way in ColdFusion to type-hint the array contents? What solution do you suggest in this case?</p>