Handle swapping of two values in an array.
an array (updated!)
an index
another index
x | x[i] ⇔ x[j]
Generated using TypeDoc
Handle swapping of two values in an array.