MCPcopy Create free account
hub / github.com/MCBans/MCBans / isNull

Method isNull

src/main/java/com/mcbans/plugin/org/json/JSONArray.java:339–341  ·  view source on GitHub ↗

Determine if the value is null. @param index The index must be between 0 and length() - 1. @return true if the value at the index is null, or if there is no value.

(int index)

Source from the content-addressed store, hash-verified

337 * @return true if the value at the index is null, or if there is no value.
338 */
339 public boolean isNull(int index) {
340 return JSONObject.NULL.equals(opt(index));
341 }
342
343
344 /**

Callers 2

toStringMethod · 0.45
toStringMethod · 0.45

Calls 2

optMethod · 0.95
equalsMethod · 0.80

Tested by

no test coverage detected