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

Method isNull

src/main/java/com/mcbans/plugin/org/json/JSONObject.java:684–686  ·  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

682 * the value is the JSONObject.NULL object.
683 */
684 public boolean isNull(String key) {
685 return JSONObject.NULL.equals(opt(key));
686 }
687
688
689 /**

Callers

nothing calls this directly

Calls 2

optMethod · 0.95
equalsMethod · 0.80

Tested by

no test coverage detected