MCPcopy
hub / github.com/witheve/Eve / hasHandler

Function hasHandler

src/codemirror.js:8264–8266  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

8262 }
8263
8264 function hasHandler(emitter, type) {
8265 return getHandlers(emitter, type).length > 0
8266 }
8267
8268 // Add on and off methods to a constructor's prototype, to make
8269 // registering events on such objects more convenient.

Callers 7

codemirror.jsFile · 0.85
setSelectionNoUndoFunction · 0.85
gutterEventFunction · 0.85
contextMenuInGutterFunction · 0.85
makeChangeFunction · 0.85
makeChangeFromHistoryFunction · 0.85

Calls 1

getHandlersFunction · 0.85

Tested by

no test coverage detected