MCPcopy Create free account
hub / github.com/FastLED/FastLED / count

Method count

src/fl/stl/flat_set.h:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 size_type count(const Key& key) const {
111 return find(key) != end() ? 1 : 0;
112 }
113
114 bool contains(const Key& key) const {
115 return find(key) != end();

Callers

nothing calls this directly

Calls 2

findFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected