FastLED 3.9.15
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 101 of file asset.h.

101 {
102 return mPath != nullptr && mLength > 0;
103 }
const char * mPath
Definition asset.h:115
fl::size mLength
Definition asset.h:116

References FL_NOEXCEPT, mLength, and mPath.