@arcmantle/library
    Preparing search index...

    Function arrayMove

    • Move the element from one index to another, shifting other items up or down accordingly. If you overflow the length of the array undefined elements will be added to fill.

      Type Parameters

      • T

      Parameters

      • array: (undefined | T)[]
      • old_index: number
      • new_index: number

      Returns (undefined | T)[]