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

Method hasLEDIndication

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

Source from the content-addressed store, hash-verified

182}
183
184bool Sensor::hasLEDIndication() const
185{
186 return state.getValue().at("config").count("ledindication") != 0;
187}
188bool Sensor::getLEDIndication() const
189{
190 return state.getValue().at("config").at("ledindication").get<bool>();

Callers 1

TEST_FFunction · 0.80

Calls 2

getValueMethod · 0.80
countMethod · 0.45

Tested by 1

TEST_FFunction · 0.64