Moves the given array element up one place in the array. The array is modified in-place.
name | type | description |
---|---|---|
array | array |
The input array. |
item | * |
The element to move up the array. |
The input array.