title: BASH: How can I check if the Environmental variables comprising an array exist?
body: <p>I have an array: </p>
  
  <pre><code>arr=($A $B)
  </code></pre>
  
  <p>I want to make sure that A and B are both existing.  How can I do this?  Without manually checking each and every element before the array declaration?</p>