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

Method constructor

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

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

(data = [], includesLabel = true)

Source from the content-addressed store, hash-verified

2571 * @param {boolean=} includesLabel
2572 */
2573 constructor(data = [], includesLabel = true) {
2574 const base = includesLabel ? 1 : 0;
2575
2576 /** @private {?boolean} */
2577 this.close_ = data[base] == null ? null : data[base];
2578 }
2579
2580 /**
2581 * @return {?boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected