MCPcopy Create free account
hub / github.com/bytedance/bolt / isCall

Function isCall

bolt/expression/ExprCompiler.cpp:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141bool isCall(const TypedExprPtr& expr, const std::string& name) {
142 if (auto call = std::dynamic_pointer_cast<const core::CallTypedExpr>(expr)) {
143 return call->name() == name;
144 }
145 return false;
146}
147
148// Recursively flattens nested ANDs, ORs or eligible callable expressions into a
149// vector of their inputs. Recursive flattening ceases exploring an input branch

Callers 1

flattenInputFunction · 0.85

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected