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

◆ contains()

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
bool fl::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT >::contains ( const Key & key) const
inline

Definition at line 636 of file unordered_map.h.

636 {
637 auto idx = find_index(key);
638 return idx != npos();
639 }
static fl::size npos() FL_NO_EXCEPT
fl::size find_index(const Key &key) const FL_NO_EXCEPT