MCPcopy Create free account
hub / github.com/outerbase/studio / toString

Method toString

src/lib/key-matcher.ts:52–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 toString() {
53 const isMac = navigator.userAgent.toLowerCase().indexOf("mac") > -1;
54 return [
55 this.key.ctrl ? (isMac ? "⌘" : "Ctrl") : undefined,
56 this.key.shift ? "Shift" : undefined,
57 this.key?.key?.toUpperCase(),
58 ]
59 .filter(Boolean)
60 .join(" + ");
61 }
62
63 toCodeMirrorKey() {
64 const isMac = navigator.userAgent.toLowerCase().indexOf("mac") > -1;

Callers 15

build_dialectFunction · 0.45
initSqlJsFunction · 0.45
handlerFunction · 0.45
interpolateColorFunction · 0.45
BoardChartFunction · 0.45
BoardChartEditorFunction · 0.45
CodeMirrorPromptWidgetFunction · 0.45
constructorMethod · 0.45
onGenerateMethod · 0.45
SchemaListFunction · 0.45
SortableTabFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected