MCPcopy
hub / github.com/ampproject/amphtml / check

Method check

third_party/subscriptions-project/config.js:1125–1131  ·  view source on GitHub ↗

* @return {?PageConfig}

()

Source from the content-addressed store, hash-verified

1123 * @return {?PageConfig}
1124 */
1125 check() {
1126 if (!this.doc_.getBody()) {
1127 // Wait until the whole `<head>` is parsed.
1128 return null;
1129 }
1130 return this.tryExtractConfig_();
1131 }
1132}
1133
1134/**

Callers

nothing calls this directly

Calls 2

tryExtractConfig_Method · 0.95
getBodyMethod · 0.45

Tested by

no test coverage detected