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

◆ front()

char fl::string::front ( ) const
inline

Definition at line 691 of file str.h.

691 {
692 if (empty()) {
693 return '\0';
694 }
695 return c_str()[0];
696 }
const char * c_str() const
Definition str.h:326

References fl::StrN< FASTLED_STR_INLINED_SIZE >::c_str(), and fl::StrN< FASTLED_STR_INLINED_SIZE >::empty().

+ Here is the call graph for this function: