pub static reverse: ReverseInternalTypeExpand description
Reverses the order of an array, maps to Array.reverse()
Examples
function setup() {
let myArray = ['A', 'B', 'C'];
print(myArray); // ['A','B','C']
reverse(myArray);
print(myArray); // ['C','B','A']
}Parameters
list Array to reverse