From RPTools WikiJump to navigationJump 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.
• Introduced in version 1.3b53
1) if all of the JSON Object keys or JSON Array values are contained within the first JSON Object or JSON Array.
json.isSubset(firstArray, array, array, ...)
json.isSubset(firstObject, object, object, ...)
firstArray- The JSON Array that must contain all of the values of the subsequent JSON Arrays for this function to return
array- A JSON Array with values that are tested to be within the
firstObject- The JSON Object that must contain all of the keys of the subsequent JSON Objects for this function to return
object- A JSON Object with keys that are tested to be within the