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

Function isCustomEvent

lib/internal/event_target.js:388–390  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

386);
387
388function isCustomEvent(value) {
389 return isEvent(value) && (value?.[kDetail] !== undefined);
390}
391
392class CustomEvent extends Event {
393 /**

Callers 1

detailMethod · 0.85

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…