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

Method cancelable

lib/internal/event_target.js:226–230  ·  view source on GitHub ↗

* @type {boolean}

()

Source from the content-addressed store, hash-verified

224 * @type {boolean}
225 */
226 get cancelable() {
227 if (!isEvent(this))
228 throw new ERR_INVALID_THIS('Event');
229 return this.#cancelable;
230 }
231
232 /**
233 * @type {boolean}

Callers

nothing calls this directly

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected