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

◆ ok() [2/2]

template<typename E>
bool fl::expected< void, E >::ok ( ) const
inline

Definition at line 150 of file expected.h.

150{ return mData.template is<VoidSuccess>(); }
fl::variant< VoidSuccess, ErrorInfo< E > > mData
Definition expected.h:216
expected type for operations that can fail (C++23-style)
Definition expected.h:79

References FL_NOEXCEPT, and mData.