Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ count
Method
count
src/fl/stl/unordered_set.h:116–118 ·
view source on GitHub ↗
Count - returns 0 or 1 for sets
Source
from the content-addressed store, hash-verified
114
115
// Count - returns 0 or 1 for sets
116
fl::size count(const Key &key) const {
117
return has(key) ? 1 : 0;
118
}
119
120
// Erase operations
121
bool erase(const Key &key) {
Callers
nothing calls this directly
Calls
1
has
Function · 0.85
Tested by
no test coverage detected