Function arrayMove

  • Move an index to another within the given array.

    Returns

    The array with the elements moved.

    Type Parameters

    • T

    Parameters

    • 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