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

    Function arraySplice

    • Replaces count elements starting at the given index with replaceWith elements.

      Type Parameters

      • T

      Parameters

      • array: nil | T[]

        Array to remove value from

      • index: number

        Index to remove

      • count: number = 1
      • ...replaceWith: T[]

      Returns T[]

      Array with value removed