MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetMandatory

Method GetMandatory

validator/validator.pb.go:1283–1288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1281}
1282
1283func (x *PropertySpec) GetMandatory() bool {
1284 if x != nil && x.Mandatory != nil {
1285 return *x.Mandatory
1286 }
1287 return false
1288}
1289
1290func (x *PropertySpec) GetValue() string {
1291 if x != nil && x.Value != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected