Progressively loops the values within an array on each iteration while at the same time retrieving one of the end values of the specified array.This function is valid in v2.8.0 to v2.24.2. This function has been downloaded 40 times.
true-ish the last value in
arraywill be returned and also placed at the beginning of
array. Otherwise the first value in
arraywill be returned and also placed at the end of