MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / FormatBoolConstant

Function FormatBoolConstant

common/constant.cc:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45std::string FormatNullConstant() { return "null"; }
46
47std::string FormatBoolConstant(bool value) {
48 return value ? std::string("true") : std::string("false");
49}
50
51std::string FormatIntConstant(int64_t value) { return absl::StrCat(value); }
52

Callers 1

AbslStringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected