FastLED 3.10.8
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
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
Optional< T > optional
Definition optional.h:16
constexpr nullopt_t nullopt
Definition optional.h:13

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

Referenced by as_impl(), as_int(), handleResponse(), and setup().

+ Here is the caller graph for this function: