MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / hasOn

Method hasOn

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool Sensor::hasOn() const
61{
62 return state.getValue().at("config").count("on") != 0;
63}
64
65bool Sensor::isOn() const
66{

Callers 2

TEST_FFunction · 0.80
snippet1Function · 0.80

Calls 2

getValueMethod · 0.80
countMethod · 0.45

Tested by 1

TEST_FFunction · 0.64