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

◆ contains() [1/2]

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

Definition at line 1457 of file types.h.

1457 {
1458 if (!is_object()) return false;
1459 auto ptr = data.ptr<json_object>();
1460 return ptr && ptr->find(key) != ptr->end();
1461 }
iterator find(const Key &key) FL_NOEXCEPT
Definition flat_map.h:136
fl::flat_map< fl::string, fl::shared_ptr< json_value >, fl::StringFastLess > json_object
Definition types.h:34
variant_t data
Definition types.h:700
bool is_object() const FL_NOEXCEPT
Definition types.h:906

References data, FL_NOEXCEPT, and is_object().

+ Here is the call graph for this function: