Returns true if this array has no value at index, or if its value is the null reference or JSONObject#NULL. @param index Which value to check. @return true if the value is null.
(int index)
| 295 | * @return true if the value is null. |
| 296 | */ |
| 297 | public boolean isNull(int index) { |
| 298 | Object value = opt(index); |
| 299 | return value == null || value == JSONObject.NULL; |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * Returns the value at {@code index}. |
no test coverage detected