MCPcopy Create free account
hub / github.com/nodejs/node / CmpNullValue

Function CmpNullValue

deps/v8/test/mjsunit/compiler/compare.js:99–99  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

97
98// Test compare against null.
99function CmpNullValue(x) { return x == null; }
100assertEquals(false, CmpNullValue(42));
101
102function CmpNullTest(x) { if (x == null) return 42; return 0; }

Callers 1

compare.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected