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

Method toArray

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

* @param {boolean=} includeLabel * @return {!Array<?>} * @override

(includeLabel = true)

Source from the content-addressed store, hash-verified

259 * @override
260 */
261 toArray(includeLabel = true) {
262 const arr = [
263 this.complete_, // field 1 - complete
264 ];
265 if (includeLabel) {
266 arr.unshift(this.label());
267 }
268 return arr;
269 }
270
271 /**
272 * @return {string}

Callers

nothing calls this directly

Calls 1

labelMethod · 0.95

Tested by

no test coverage detected