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

Function ValueEquals

runtime/standard/container_membership_functions.cc:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51template <>
52bool ValueEquals(const Value& value, bool other) {
53 if (auto bool_value = As<BoolValue>(value); bool_value) {
54 return bool_value->NativeValue() == other;
55 }
56 return false;
57}
58
59template <>
60bool ValueEquals(const Value& value, int64_t other) {

Callers

nothing calls this directly

Calls 2

NativeValueMethod · 0.45
EqualsMethod · 0.45

Tested by

no test coverage detected