collections.Shuffle
Syntax
collections.Shuffle COLLECTION
Returns
any
Alias
shuffle
{{ shuffle (seq 1 2 3) }} → [3 1 2]
{{ shuffle (slice "a" "b" "c") }} → [b a c]
结果会因每次构建而不同。
Syntax
collections.Shuffle COLLECTION
Returns
any
Alias
shuffle
{{ shuffle (seq 1 2 3) }} → [3 1 2]
{{ shuffle (slice "a" "b" "c") }} → [b a c]
结果会因每次构建而不同。