Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
99
function
CmpNullValue(x) {
return
x == null; }
100
assertEquals(false, CmpNullValue(42));
101
102
function
CmpNullTest(x) {
if
(x == null)
return
42;
return
0; }
Callers
1
compare.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected