API Referencecorecollectionarrayarray_swap_oneOn this pagearray_swap_onearray_swap_one(array, index0, index1)Kind: global function ParamTypearrayArray.<T>index0numberindex1number