Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ hasKey
Method
hasKey
src/fl/audio/detector/key.h:100–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
98
// State access
99
const Key& getCurrentKey() const { return mCurrentKey; }
100
bool hasKey() const { return mCurrentKey.isValid(); }
101
102
// Configuration
103
void setConfidenceThreshold(float threshold) { mConfidenceThreshold = threshold; }
Callers
nothing calls this directly
Calls
1
isValid
Method · 0.45
Tested by
no test coverage detected