code: function arrayHasAdjacent(values, array) {
      error_if_not_array_1.errorIfNotArray(values);
      if (is_empty_not_empty_1.isEmpty(values))
          return false;
      var indexes = array_get_indexes_1.getIndexesOf(values[0], array);
      var i = -1;
      while (++i < indexes.length) {
          if (indexes[i] + values.length > array.length)
              return false;
          var adjacentItems = array_get_adjacent_at_1.getAdjacentAt(indexes[i], values.length, array);
          if (arrays_match_1.arraysMatch(values, adjacentItems))
              return true;
      }
      return false;
  }
docs: Checks if array contains adjacent values anywhere inside it. values cannot contain object.