json.isEmpty() throws Invalid condition if passed a string. #1167
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Describe the bug
If
json.isEmpty()
is passed a string, it produces an error:To Reproduce
Steps to reproduce the behavior:
[H: group = "a"][r, if(json.isEmpty(group)): 1;0]
Works correctly if an empty string
""
or a space" "
is passed.Similar to issue seen in #1144
MapTool Info
The text was updated successfully, but these errors were encountered: