@mpen/imut-utils
    Preparing search index...

    Function arrayReplace

    • Replace an element at the given index. Same as arraySplice but with count=1

      Type Parameters

      • T

      Parameters

      • array: T[]
      • index: number
      • ...replaceWith: T[]

      Returns T[]