1
0
Fork 0
hugo/docs/content/en/functions/collections/Shuffle.md

448 B

title description categories keywords params aliases
collections.Shuffle Returns a random permutation of a given array or slice.
functions_and_methods
aliases returnType signatures
shuffle
any
collections.Shuffle COLLECTION
/functions/shuffle
{{ shuffle (seq 1 2 3) }} → [3 1 2] 
{{ shuffle (slice "a" "b" "c") }} → [b a c] 

The result will vary from one build to the next.