Skip to main content

shuffle

Function shuffle 

Source
pub fn shuffle(arr: &[JValue]) -> Result<JValue, FunctionError>
Expand description

$shuffle(array) - Randomly shuffle array elements Uses Fisher-Yates (inside-out variant) algorithm