SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...
    • Move an array item to a different position. Returns a new array with the item moved to the new position.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array

      • from: number

        The index of the item to move

      • to: number

        The index to move the item to

      Returns T[]