json.shuffle: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page Json.shuffle to json.shuffle: Converting page titles to lowercase)
No edit summary
Line 7: Line 7:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
json.shuffle(array)
json.shuffle(array)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
* {{code|array}} - The array to shuffle.
* {{code|array}} - The array to shuffle.

Revision as of 17:37, 15 March 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

json.shuffle() Function

Introduced in version 1.3b51
Randomly shuffles the values in a JSON array.

Usage

json.shuffle(array)

Parameters

  • array - The array to shuffle.