json.reverse: Difference between revisions

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


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

Revision as of 16:40, 15 March 2023

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

json.reverse() Function

Introduced in version 1.3b51
Reverses the order of a JSON array.

Usage

json.reverse(array)

Parameters

  • array - The array to reverse the order of.