- :block
- or :nothing
shuffle
get given collection shuffled
Parameters
shuffle collection :literal :pathliteral :block
Returns
Examples
copyshuffle [1 2 3 4 5 6] ; => [1 5 6 2 3 4 ]
copyarr: [2 5 9] shuffle 'arr print arr ; 5 9 2
shuffle collection :literal :pathliteral :block
copyshuffle [1 2 3 4 5 6] ; => [1 5 6 2 3 4 ]
copyarr: [2 5 9] shuffle 'arr print arr ; 5 9 2