json.reverse: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page json.reverse to Json.reverse without leaving a redirect: Converting page title to first-letter uppercase)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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.

Latest revision as of 23:59, 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.