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

◆ operator()() [4/6]

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

Definition at line 372 of file types.h.

372 {
373 // NEW INSTRUCTIONS: AUTO CONVERT FLOAT TO BOOL
374 // 0.0 → false, non-zero → true
375 result = (value != 0.0f);
376 }
constexpr int type_rank< T >::value
fl::optional< bool > result
Definition types.h:354

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