MCPcopy 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 */
21function isFalseString(str) {
22 return /^(?:false|off)?$/i.test(str);
23}
24
25/**
26 * @param {string} mode

Callers 1

setupPreviewFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected