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

Function IsAny

internal/message_equality.cc:449–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449bool IsAny(const Message& message) {
450 return message.GetDescriptor()->well_known_type() ==
451 Descriptor::WELLKNOWNTYPE_ANY;
452}
453
454bool IsAnyField(const FieldDescriptor* absl_nonnull field) {
455 return field->type() == FieldDescriptor::TYPE_MESSAGE &&

Callers 4

SingularFieldEqualsMethod · 0.85
FieldEqualsMethod · 0.85
GetAnyMethod · 0.85
IsMethod · 0.85

Calls 1

GetDescriptorMethod · 0.45

Tested by

no test coverage detected