MCPcopy Create free account
hub / github.com/FastLED/FastLED / has_value

Method has_value

src/fl/stl/json.h:656–658  ·  view source on GitHub ↗

has_value method for compatibility

Source from the content-addressed store, hash-verified

654
655 // has_value method for compatibility
656 bool has_value() const FL_NOEXCEPT {
657 return mValue && !mValue->is_null();
658 }
659
660 // Get access to the internal json_value for direct variant visiting
661 // Returns nullptr if no value is set

Callers 15

setStateMethod · 0.45
CoroutineTaskMethod · 0.45
getTimeMethod · 0.45
makeNameMethod · 0.45
applyConfigMethod · 0.45
ChannelConfigOfClass · 0.45
addMethod · 0.45
is_jsonMethod · 0.45
jsonMethod · 0.45
stringClass · 0.45
readStringUntilFunction · 0.45
sstreamClass · 0.45

Calls 1

is_nullMethod · 0.45

Tested by 2

test_promise_approachFunction · 0.36
test_await_approachFunction · 0.36