FastLED 3.9.15
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 656 of file unordered_map.h.

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