MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / isNull

Method isNull

src/main/java/com/volmit/adapt/util/JSONObject.java:980–982  ·  view source on GitHub ↗

Determine if the value associated with the key is null or if there is no value. @param key A key string. @return true if there is no value associated with the key or if the value is the JSONObject.NULL object.

(String key)

Source from the content-addressed store, hash-verified

978 * is the JSONObject.NULL object.
979 */
980 public boolean isNull(String key) {
981 return JSONObject.NULL.equals(this.opt(key));
982 }
983
984 /**
985 * Get an enumeration of the keys of the JSONObject.

Callers

nothing calls this directly

Calls 2

optMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected