[Top]
Tools
Tools.JSON
Tools.JSON.JSONArray
|
Method Tools.JSON.JSONArray()->optBoolean()
- Method
optBoolean
-
int(0..1) optBoolean(int i, int(0..1)|void defaultValue)
- Description
-
Get the optional boolean value associated with an index.
It returns the defaultValue if there is no value at that index or if it is not
a Boolean or the String "true" or "false".
- Parameter i
-
index subscript
- Parameter defaultValue
-
- Returns
-
The truth.
|