MCPcopy Index your code
hub / github.com/compat-table/compat-table / testValue

Function testValue

build.js:473–478  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

471 }
472
473 function testValue(result) {
474 if (result && typeof result === "object" && "val" in result) {
475 return result.val;
476 }
477 return result;
478 }
479
480 function escapeTestName(name) {
481 return name.replace(/^[\s<>&"',]+|[\s<>&"',]+$/g, '').replace(/[\s<>&"]+/g, '_');

Callers 2

resultCellFunction · 0.85
dataToHtmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected