MCPcopy Create free account
hub / github.com/SteveyO/Hue-Emulator / optBoolean

Method optBoolean

src/org/json/JSONObject.java:797–799  ·  view source on GitHub ↗

Get an optional boolean associated with a key. It returns false if there is no such key, or if the value is not Boolean.TRUE or the String "true". @param key A key string. @return The truth.

(String key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

createSchedule_3_2Method · 0.95
setLightStateMethod · 0.95

Calls 1

getBooleanMethod · 0.95

Tested by

no test coverage detected