title: How to check if a value doesn't exist in one or more arrays inside array of arrays?
body: <p>I need to write a function that returns true if a value exists in a multidimensional array and false if the value doesn't exist in atleast one array in the multidimensional array.</p>
  
  <pre><code>    function isItemOmnipresent (arrayOfArrays, item) {
  
       var arrays = arrayOfArrays;
       var itemCheck = item;
  
       for(var i = 0; i &lt; arrays.length; i++){
        for(var j = 0; j &lt; arrays[i].length; j++){
         if(arrays[i][j] == itemCheck) {
           return true;
        } else {
           return false;
        }
      }
    }
  </code></pre>