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

◆ count()

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

Definition at line 655 of file unordered_map.h.

655 {
656 return contains(key) ? 1 : 0;
657 }
bool contains(const Key &key) const FL_NO_EXCEPT