MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / hasHandler

Function hasHandler

static/js/codemirror/codemirror.js:4902–4905  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

4900 }
4901
4902 function hasHandler(emitter, type) {
4903 var arr = emitter._handlers && emitter._handlers[type];
4904 return arr && arr.length > 0;
4905 }
4906
4907 CodeMirror.on = on; CodeMirror.off = off; CodeMirror.signal = signal;
4908

Callers 4

clickInGutterFunction · 0.85
makeChangeFunction · 0.85
setSelectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected