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

Method parseMessageData_

testing/iframe.js:678–683  ·  view source on GitHub ↗

* @param {*} data * @return {?} * @private

(data)

Source from the content-addressed store, hash-verified

676 * @private
677 */
678 parseMessageData_(data) {
679 if (typeof data == 'string' && isAmpMessage(data)) {
680 return deserializeMessage(data);
681 }
682 return data;
683 }
684}

Callers 1

constructorMethod · 0.95

Calls 2

isAmpMessageFunction · 0.90
deserializeMessageFunction · 0.90

Tested by

no test coverage detected