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

◆ as_or()

template<typename T>
T fl::json::as_or ( const T & fallback) const
inline

Definition at line 813 of file json.h.

815 {
816 auto result = try_as<T>();
fl::optional< T > try_as() const FL_NO_EXCEPT
Definition json.h:480
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References fl::FL_NO_EXCEPT, and try_as().

Referenced by setup().

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