Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Array

Method Array.shuffle()


Method shuffle

array shuffle(array arr)

Description

shuffle() gives back the same elements, but in random order. The array is modified destructively.

See also

permute()