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

Method type

lib/internal/event_target.js:217–221  ·  view source on GitHub ↗

* @type {string}

()

Source from the content-addressed store, hash-verified

215 * @type {string}
216 */
217 get type() {
218 if (!isEvent(this))
219 throw new ERR_INVALID_THIS('Event');
220 return this[kType];
221 }
222
223 /**
224 * @type {boolean}

Callers

nothing calls this directly

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected