Skip to main content

array_swap_one

array_swap_one(array, index0, index1) ⇒ void

Swaps two elements in the array

Kind: global function
See: array_swap

ParamType
arrayArray.<T>
index0number
index1number