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

◆ as_or()

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

Definition at line 648 of file json.h.

650 {
651 auto result = try_as<T>();
fl::optional< T > try_as() const FL_NOEXCEPT
Definition json.h:319
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FL_NOEXCEPT, and try_as().

Referenced by setup().

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