Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/antonmedv/codejar
/ isCtrl
Function
isCtrl
codejar.ts:491–493 ·
view source on GitHub ↗
(event: KeyboardEvent)
Source
from the content-addressed store, hash-verified
489
}
490
491
function
isCtrl(event: KeyboardEvent) {
492
return
event.metaKey || event.ctrlKey
493
}
494
495
function
isUndo(event: KeyboardEvent) {
496
return
isCtrl(event) && !event.shiftKey && getKeyCode(event) ===
'Z'
Callers
3
isUndo
Function · 0.85
isRedo
Function · 0.85
isCopy
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected