Files
hugo/content/en/functions/shuffle.md
T
2023-04-03 11:50:31 -07:00

389 B

title, description, keywords, categories, menu, signature, relatedfuncs
title description keywords categories menu signature relatedfuncs
shuffle Returns a random permutation of a given array or slice.
ordering
functions
docs
parent
functions
shuffle COLLECTION
seq
{{ 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.