Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ messageArgToEncodedComponent
Function
messageArgToEncodedComponent
src/utils/log.js:93–94 ·
view source on GitHub ↗
(arg)
Source
from the content-addressed store, hash-verified
91
* @
return
{string}
92
*/
93
const
messageArgToEncodedComponent = (arg) =>
94
encodeURIComponent(String(elementStringOrPassThru(arg)));
95
96
/**
97
* @param {!Window=} opt_win
Callers
1
externalMessageUrl
Function · 0.85
Calls
2
elementStringOrPassThru
Function · 0.90
String
Function · 0.50
Tested by
no test coverage detected