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

Function assert_false

test/fixtures/wpt/resources/testharness.js:1556–1560  ·  view source on GitHub ↗

* Assert that ``actual`` is strictly false * * @param {Any} actual - Value that is asserted to be false * @param {string} [description] - Description of the condition being tested

(actual, description)

Source from the content-addressed store, hash-verified

1554 * @param {string} [description] - Description of the condition being tested
1555 */
1556 function assert_false(actual, description)
1557 {
1558 assert(actual === false, "assert_false", description,
1559 "expected false got ${actual}", {actual:actual});
1560 }
1561 expose_assert(assert_false, "assert_false");
1562
1563 function same_value(x, y) {

Callers 15

idlharness.jsFile · 0.70
assert_function_nameFunction · 0.50
assert_function_lengthFunction · 0.50
assert_InstanceFunction · 0.50
interface.any.jsFile · 0.50
assert_throws_wasmFunction · 0.50
js-wasm-cycle.jsFile · 0.50

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…