code: function replaceAdjacentAt(index, newValues, array) {
      error_if_not_array_1.errorIfNotArray(newValues);
      // The other parameters, index and array, are type-checked here:
      array_replace_adjacent_items_1._replaceAdjacentItems(index, newValues.length, newValues, array);
  }
docs: Replaces adjacent items, beginning at `index`, with the same number of `newValues`, in `array`.  `index` can be negative or positive. The number of adjacent items that get replaced equals `newValues.length`.