Difference between revisions of "Shuffle"
Jump to navigation
Jump to search
(Change header from "Default value" to "Type") |
|||
Line 5: | Line 5: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Parameter Name !! | + | ! Parameter Name !! Type !! Meaning |
|- | |- | ||
| ''self'' || list or map || object to shuffle | | ''self'' || list or map || object to shuffle |
Latest revision as of 00:12, 18 November 2023
shuffle
randomizes the order of elements in a list, or the mappings from keys to values in a map. This is done in place.
Arguments
Parameter Name | Type | Meaning |
---|---|---|
self | list or map | object to shuffle |