MCPcopy Create free account
hub / github.com/Var3D/var3dframe / isNull

Method isNull

core/src/core/java/var3d/net/center/json/JSONArray.java:263–266  ·  view source on GitHub ↗

Returns true if this array has no value at index, or if its value is the null reference or JSONObject#NULL.

(int index)

Source from the content-addressed store, hash-verified

261 * is the {@code null} reference or {@link JSONObject#NULL}.
262 */
263 public boolean isNull(int index) {
264 Object value = opt(index);
265 return value == null || value == JSONObject.NULL;
266 }
267
268 /**
269 * Returns the value at {@code index}.

Callers

nothing calls this directly

Calls 1

optMethod · 0.95

Tested by

no test coverage detected