MCPcopy Index your code
hub / github.com/antonmedv/codejar / isCopy

Function isCopy

codejar.ts:503–505  ·  view source on GitHub ↗
(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

501 }
502
503 function isCopy(event: KeyboardEvent) {
504 return isCtrl(event) && getKeyCode(event) === 'C'
505 }
506
507 function getKeyCode(event: KeyboardEvent): string | undefined {
508 let key = event.key || event.keyCode || event.which

Callers 1

CodeJarFunction · 0.85

Calls 2

isCtrlFunction · 0.85
getKeyCodeFunction · 0.85

Tested by

no test coverage detected