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

Method constructor

third_party/subscriptions-project/swg.js:1970–1975  ·  view source on GitHub ↗

* @param {!Array<*>=} data * @param {boolean=} includesLabel

(data = [], includesLabel = true)

Source from the content-addressed store, hash-verified

1968 * @param {boolean=} includesLabel
1969 */
1970 constructor(data = [], includesLabel = true) {
1971 const base = includesLabel ? 1 : 0;
1972
1973 /** @private {?boolean} */
1974 this.isClicked_ = data[base] == null ? null : data[base];
1975 }
1976
1977 /**
1978 * @return {?boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected