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

Method as_int

src/fl/stl/json.h:257–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 // Safe extractors
256 fl::optional<bool> as_bool() const FL_NOEXCEPT { return mValue ? mValue->as_bool() : fl::nullopt; }
257 fl::optional<i64> as_int() const FL_NOEXCEPT {
258 if (!mValue) return fl::nullopt;
259 return mValue->as_int();
260 }
261
262 template<typename IntType>
263 fl::optional<IntType> as_int() const FL_NOEXCEPT {

Callers 15

processRpcMethod · 0.45
idToStringMethod · 0.45
classify_arrayFunction · 0.45
optimize_arrayFunction · 0.45
ParseJsonMethod · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
rpc.hppFile · 0.45
response_send.hppFile · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected