FastLED 3.9.15
Loading...
Searching...
No Matches

◆ as_int() [1/2]

fl::optional< i64 > fl::json::as_int ( ) const
inline

Definition at line 255 of file json.h.

256 { return mValue ? mValue->as_bool() : fl::nullopt; }
258 if (!mValue) return fl::nullopt;
fl::shared_ptr< json_value > mValue
Definition json.h:130
fl::optional< i64 > as_int() const FL_NOEXCEPT
Definition json.h:255
Optional< T > optional
Definition optional.h:16
constexpr nullopt_t nullopt
Definition optional.h:13
#define FL_NOEXCEPT

References FL_NOEXCEPT, mValue, and fl::nullopt.

Referenced by as_impl(), as_int(), AutoResearchRemoteControl::findConnectedPinsImpl(), handleResponse(), fl::Remote::processRpc(), AutoResearchRemoteControl::registerFunctions(), AutoResearchRemoteControl::runParallelTestImpl(), AutoResearchRemoteControl::runSingleTestImpl(), and setup().

+ Here is the caller graph for this function: