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

Method GetDefinesDefaultWidth

validator/validator.pb.go:2524–2529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2522}
2523
2524func (x *AmpLayout) GetDefinesDefaultWidth() bool {
2525 if x != nil && x.DefinesDefaultWidth != nil {
2526 return *x.DefinesDefaultWidth
2527 }
2528 return false
2529}
2530
2531func (x *AmpLayout) GetDefinesDefaultHeight() bool {
2532 if x != nil && x.DefinesDefaultHeight != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected