Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ isFalseString
Function
isFalseString
ads/vendors/adocean.js:21–23 ·
view source on GitHub ↗
* @param {string} str * @return {boolean}
(str)
Source
from the content-addressed store, hash-verified
19
* @
return
{boolean}
20
*/
21
function
isFalseString(str) {
22
return
/^(?:false|off)?$/i.test(str);
23
}
24
25
/**
26
* @param {string} mode
Callers
1
setupPreview
Function · 0.85
Calls
1
test
Method · 0.45
Tested by
no test coverage detected