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

Method has

src/main/java/com/mcbans/plugin/org/json/JSONObject.java:644–646  ·  view source on GitHub ↗

Determine if the JSONObject contains a specific key. @param key A key string. @return true if the key exists in the JSONObject.

(String key)

Source from the content-addressed store, hash-verified

642 * @return true if the key exists in the JSONObject.
643 */
644 public boolean has(String key) {
645 return this.map.containsKey(key);
646 }
647
648
649 /**

Callers 3

executeMethod · 0.95
toStringMethod · 0.45
toStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected