code: function (array, ctor) {
          
          if (!Arrays.isArrayLike(array))
              return false;
          
          var typeOf = typeof ctor,
              isString = (typeOf === 'string');
          
          if (   typeOf !== 'function'
              && !isString )
              throw "IllegalArgumentException: ctor must be a Function or String.";
          
          var isOk = true;
          
          for ( var i = 0, len = array.length;
                    i < len && isOk === true;
                    i++ ) {
              
              if (isString) {
                  if (typeof array[i] !== ctor)
                      isOk = false;
              }
              else if (!(array[i] instanceof ctor))
                  isOk = false;
          }
          
          return isOk;
      }
docs: Returns whether <code>array</code> is an Array where
  each item is an instance of <code>ctor</code>.
  
  @param array {Array}
  @param ctor {Function} or {String}
  @return {Boolean} Returns <em>false</em> if <code>array</code> is not
  array-like, or if any of its elements has a type
  different than <code>ctor</code>.  Otherwise returns
  <em>true</em>.
  
  @throws IllegalArgumentException if <code>ctor</code> is neither a Function
  not a String.