FastLED 3.10.6
Loading...
Searching...
No Matches

◆ as_int() [1/2]

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

Definition at line 398 of file json.h.

399 { return mValue ? mValue->as_bool() : fl::nullopt; }
401 if (!mValue) return fl::nullopt;
fl::shared_ptr< json_value > mValue
Definition json.h:263
fl::optional< i64 > as_int() const FL_NO_EXCEPT
Definition json.h:398
Optional< T > optional
Definition optional.h:16
InputGamut g FL_NO_EXCEPT
Definition rgbw.h:121
constexpr nullopt_t nullopt
Definition optional.h:13

References fl::FL_NO_EXCEPT, mValue, and fl::nullopt.

Referenced by as_impl(), as_int(), handleResponse(), fl::Remote::processRpc(), and setup().

+ Here is the caller graph for this function: