json.isEmpty

From RPTools Wiki
Revision as of 06:37, 10 March 2009 by Verisimilar (talk | contribs) (Initial write-up.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

json.isEmpty() Function

Introduced in version 1.3b51
Checks to see if a JSON array, or JSON object is empty.

Usage

json.isEmpty(variable)

Parameters

  • variable - The variable to test, if it contains an empty JSON array, JSON object, or an empty string it returns true(1). In any other case it will return false(0).