FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator bool()

fl::asset_ref::operator bool ( ) const
inlineexplicitconstexpr

True if this handle refers to an asset path.

Definition at line 103 of file asset.h.

103 {
104 return mPath != nullptr && mLength > 0;
105 }
const char * mPath
Definition asset.h:117
fl::size mLength
Definition asset.h:118

References fl::FL_NO_EXCEPT, mLength, and mPath.