Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ hasElseClause
Function
hasElseClause
bolt/expression/SwitchExpr.cpp:39–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
38
namespace {
39
bool hasElseClause(const std::vector<ExprPtr>& inputs) {
40
return inputs.size() % 2 == 1;
41
}
42
} // namespace
43
44
SwitchExpr::SwitchExpr(
Callers
1
SwitchExpr
Method · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected