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

◆ operator()() [4/6]

void fl::BoolConversionVisitor::operator() ( const float & value)
inline

Definition at line 341 of file types.h.

341 {
342 // NEW INSTRUCTIONS: AUTO CONVERT FLOAT TO BOOL
343 // 0.0 → false, non-zero → true
344 result = (value != 0.0f);
345 }
constexpr int type_rank< T >::value
fl::optional< bool > result
Definition types.h:323

References FL_NOEXCEPT, result, and fl::type_rank< T >::value.