Function arrayMove

  • Move an index to another within the given array.


    The array with the elements moved.

    Type Parameters

    • T


    • originalArray: T[]

      The array to move objects in.

    • oldIndex: number

      The index to move.

    • newIndex: number

      The index to move the entry to.

    Returns T[]

Generated using TypeDoc