title: How to check if a dynamic array is empty
body: <p>I have a procedure declared like so:</p>
  
  <pre><code>procedure MyProc(List: Array of string);
  </code></pre>
  
  <p>I want to know how to check if the <code>List</code> parameter is empty.</p>
  
  <p>For example:</p>
  
  <pre><code>procedure MyProc(List: Array of string);
  begin
    if List=[] then // here I want to check if the List array is empty
    //do something
    else 
    //do something else
  end;
  </code></pre>
  
  <p>How I can do this?</p>