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

◆ try_as()

template<typename T>
fl::optional< T > fl::json::try_as ( ) const
inline

Definition at line 480 of file json.h.

482 {
483 if (!mValue) {
484 return fl::nullopt;
485 }
fl::shared_ptr< json_value > mValue
Definition json.h:263
constexpr nullopt_t nullopt
Definition optional.h:13

References as_impl(), fl::FL_NO_EXCEPT, mValue, and fl::nullopt.

Referenced by as(), as_or(), setup(), and value().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: