--- title: shuffle # linktitle: description: Returns a random permutation of a given array or slice. godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-04-30 #tags: [ordering] categories: [functions] menu: docs: parent: "functions" signature: ["shuffle COLLECTION"] workson: [] hugoversion: relatedfuncs: [seq] deprecated: false draft: false aliases: [] --- {{< code file="shuffle-input.html" >}}