Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ isEvent
Function
isEvent
lib/internal/event_target.js:95–97 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
93
};
94
95
function
isEvent(value) {
96
return
typeof value?.[kType] ===
'string'
;
97
}
98
99
class
Event {
100
#cancelable = false;
Callers
15
[customInspectSymbol]
Method · 0.85
stopImmediatePropagation
Method · 0.85
preventDefault
Method · 0.85
target
Method · 0.85
currentTarget
Method · 0.85
srcElement
Method · 0.85
type
Method · 0.85
cancelable
Method · 0.85
defaultPrevented
Method · 0.85
timeStamp
Method · 0.85
composedPath
Method · 0.85
returnValue
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…