MCPcopy Index your code
hub / github.com/nodejs/node / assertFunction

Function assertFunction

deps/v8/test/mjsunit/wasm/parallel_compilation.js:34–43  ·  view source on GitHub ↗
(module, func)

Source from the content-addressed store, hash-verified

32}
33
34function assertFunction(module, func) {
35 assertEquals("object", typeof module.exports);
36
37 var exp = module.exports[func];
38 assertFalse(exp === undefined);
39 assertFalse(exp === null);
40 assertFalse(exp === 0);
41 assertEquals("function", typeof exp);
42 return exp;
43}
44
45(function CompileFunctionsTest() {
46

Callers 1

Calls 2

assertEqualsFunction · 0.50
assertFalseFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…