json.difference

From RPTools Wiki
Revision as of 11:50, 31 October 2012 by Wolph42 (talk | contribs)
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Examples of usage, clearer description.

json.difference() Function

Introduced in version 1.3b53
Returns an array with the differences of all of the JSON Object keys, or JSON Array values.

Usage

json.difference(array, array, ...)
json.difference(array, array, ...)

Parameter

So per example

[json.difference(array2, array1)]

will result in array2 from which all elements that are found in array1 are removed.


See Also