MCPcopy
hub / github.com/golang/protobuf / Has

Method Has

proto/extensions.go:354–356  ·  proto/extensions.go::fieldNum.Has
(n2 protoreflect.FieldNumber)

Source from the content-addressed store, hash-verified

352type fieldNum protoreflect.FieldNumber
353
354func (n1 fieldNum) Has(n2 protoreflect.FieldNumber) bool {
355 return protoreflect.FieldNumber(n1) == n2
356}

Callers 10

unmarshalMessageMethod · 0.80
setDefaultsFunction · 0.80
HasExtensionFunction · 0.80
GetExtensionFunction · 0.80
ExtensionDescsFunction · 0.80
isValidExtensionFunction · 0.80
clearUnknownFunction · 0.80
writeMessageMethod · 0.80
marshalMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected