Powered By GitBook
SHUFFLE
Shuffle a list

Description

Returns a list containing all the values from the list parameter, but shuffled into a random order.

Function signature

1
SHUFFLE(list: Array) => Array
Copied!
Parameter
Description
List
List to shuffle

Examples

1
array1 = ["a","b","c","d","e"]
2
array2 = ["a","b","c",1,2,3]
Copied!
Formula
Return value
SHUFFLE([])
[]
SHUFFLE(array1)
["b","c","a","e","d"]
SHUFFLE(array2)
["1","b","2","a","c","3"]
Last modified 11mo ago
Export as PDF
Copy link