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

◆ contains() [3/3]

template<fl::size SIZE = FASTLED_STR_INLINED_SIZE>
template<fl::size M>
bool fl::StrN< SIZE >::contains ( const StrN< M > & other) const
inline

Definition at line 478 of file str.h.

478 {
479 return find(other.c_str()) != npos;
480 }
static constexpr fl::size npos
Definition str.h:146
fl::size find(const char &value) const
Definition str.h:408
const char * c_str() const
Definition str.h:326

References StrN(), c_str(), find(), and npos.

+ Here is the call graph for this function: