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

◆ contains() [1/2]

bool fl::json_value::contains ( const fl::string & key) const
inline

Definition at line 1486 of file types.h.

1486 {
1487 if (!is_object()) return false;
1488 auto ptr = data.ptr<json_object>();
1489 return ptr && ptr->find(key) != ptr->end();
1490 }
iterator find(const Key &key) FL_NO_EXCEPT
Definition flat_map.h:156
fl::flat_map< fl::string, fl::shared_ptr< json_value >, fl::StringFastLess > json_object
Definition types.h:55
bool is_object() const FL_NO_EXCEPT
Definition types.h:935
variant_t data
Definition types.h:760

References data, fl::FL_NO_EXCEPT, and is_object().

+ Here is the call graph for this function: